Posted comments (2)

Posted by Fabrizio Dagnolo at August 17, 2021 14:39:13 CEST
Hi

Thank you for sharing this project.

I am trying to make this project

However i get compilation errors in arduino.

Processor board and type are set correctly.

C:\Users\fabrizio\Documents\Arduino\libraries\arduino-lmic-master\src\hal\getpinmap_thisboard.cpp: In function 'const Arduino_LMIC::HalPinmap_t* Arduino_LMIC::GetPinmap_ThisBoard()':
C:\Users\fabrizio\Documents\Arduino\libraries\arduino-lmic-master\src\hal\getpinmap_thisboard.cpp:69:72: note: #pragma message: Board not supported -- use an explicit pinmap
#pragma message("Board not supported -- use an explicit pinmap")
^
data section exceeds available space in board
Sketch uses 25690 bytes (83%) of program storage space. Maximum is 30720 bytes.
Global variables use 2333 bytes (113%) of dynamic memory, leaving -285 bytes for local variables. Maximum is 2048 bytes.
Not enough memory; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing your footprint.
Error compiling for board Arduino Pro or Pro Mini.


Do you have any idee what the compilation errors are in Arduino?

Thanks in advance,
Fabrizio
Posted by Fabrizio Dagnolo at August 17, 2021 14:48:02 CEST
Hi,

I found one error.
The first one where he says that Processor boardis not supported.

.dio = {2, 3, LMIC_UNUSED_PIN},
The last ',' should be removed in //Pin Mapping

I still have a not enough memory error for the global variables

Sketch uses 25690 bytes (83%) of program storage space. Maximum is 30720 bytes.
Global variables use 2333 bytes (113%) of dynamic memory, leaving -285 bytes for local variables. Maximum is 2048 bytes.data section exceeds available space in board

Not enough memory; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing your footprint.
Error compiling for board Arduino Pro or Pro Mini.

Any idee what the problem could be for the Global Variables exeeding the limit.

Thanks in advance,
Fabrizio