mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
629 stars 207 forks source link

ESP32 board not supported #931

Open laurentvolpon777 opened 1 year ago

laurentvolpon777 commented 1 year ago

Hello, I'm trying to compile the ttn-otaa example with my ESP32 but I have this... c:\Users...\Arduino\libraries\MCCI_LoRaWAN_LMIC_library\src\hal\getpinmap_thisboard.cpp: In function 'const Arduino_LMIC::HalPinmap_t* Arduino_LMIC::GetPinmap_ThisBoard()': c:\Users...\Arduino\libraries\MCCI_LoRaWAN_LMIC_library\src\hal\getpinmap_thisboard.cpp:71:72: note: #pragma message: Board not supported -- use an explicit pinmap

pragma message("Board not supported -- use an explicit pinmap")

I thought ESP32 was compatible with this library. Thanks for your help Laurent

cyberman54 commented 1 year ago

if you do what the hint suggests, providing an explicit pinmap to the lib, it will work with ESP32 boards.

dadanugm commented 1 year ago

Hi @laurentvolpon777 Have you resolved the issue? this happen also for Board Nucleo 64. This unsupported board turn into oslmic init failure. image Any idea to solve? Thanks

laurentvolpon777 commented 1 year ago

@cyberman54 Sorry, I missed your answer. I'm a newbie and not sure how to proceed. Could you please help me on this.

@dadanugm I didn't resolve my problem. I tried with another microcontroller (Seeed XIAO - LoRa E5), but I would prefer to go back with my dear ESP32.