-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serial wakeup works on ArduinoIDE not on PlatfromIO #828
Comments
Hi @naveen-79, unfortunately, I don't have any STM32W-based hardware at hand to reproduce the issue. I tried the Could you try linking extra libraries as object files? Just add the following option: [env:myenv]
...
lib_archive = no |
still wakeup fails |
Could you also try adding the [env:myenv]
...
build_flags = -DCUSTOM_PERIPHERAL_PINS |
Serial does not print anything. HardwareSerial SleepSerial(PC0, PC1); platformio.ini [env:lora_e5_mini]
platform = ststm32
board = lora_e5_mini
framework = arduino
build_flags =
-D PIO_FRAMEWORK_ARDUINO_SERIAL_WITHOUT_GENERIC
-D CUSTOM_PERIPHERAL_PINS
lib_deps =
https://github.com/stm32duino/STM32LowPower @ ~1.3.0
https://github.com/stm32duino/STM32RTC @ ~1.6.0
lib_archive = no anything wrong with the ini file |
Are you sure you need this option? It's an equivalent of the |
I enabled the same in Arduino IDE |
I'm using Lora-E5-Mini board with the Lowpower Serial Deep Sleep Example. The code works fine if compiled in Arduino IDE but fails to work while using PlatformIO.
stm32duino/STM32LowPower#118
The text was updated successfully, but these errors were encountered: