xreef / LoRa_E32_Series_Library

Arduino LoRa EBYTE E32 device library complete and tested with Arduino, esp8266, esp32, STM32 and Raspberry Pi Pico (rp2040 boards). sx1278/sx1276
https://www.mischianti.org
Other
348 stars 72 forks source link

Update LoRa_E32.h for stm32 rogerclerk library #48

Closed satyanvesi closed 1 year ago

satyanvesi commented 1 year ago

This is a little fix if you are using stm32 https://github.com/rogerclarkmelbourne/Arduino_STM32 library.

xreef commented 1 year ago

Hi @satyanvesi, for that board, manager isn't sufficient !defined(ARDUINO_ARCH_STM32) if we add !defined(__STM32F1__) we must add add !defined(__STM32F4__) and similar?

Thanks Renzo

satyanvesi commented 1 year ago

but i tested without !defined(__STM32F1__) it didnt compile the sketch and yes we add !defined(__STM32F4__) and similar.