2025-07-23 4:01 PM - last edited on 2025-07-24 1:25 AM by Andrew Neil
Hi everyone! I’m new to LoRaWAN development on STM32WL55jc1 boards and need help importing the LoRaWAN_End_Node example correctly in STM32CubeIDE. I’ve tried multiple approaches (downloading from GitHub, manually copying files, etc.), but I keep running into configuration errors or missing dependencies. Could someone guide me step-by-step on how to do this properly? Specifically:*
Where to download the official example from?
Key settings when importing the project (e.g., toolchain, paths).
Common pitfalls and fixes (e.g., incorrect paths, library issues).
Thanks in advance for your patience! :smiling_face_with_smiling_eyes:
2025-07-24 1:38 AM
Hello @Eco_ANDRE
First I want to thank you for posting.
The easiest way is to use the example selector.
Go to File > New > STM32 Project > Example Selector > Search for this example
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-07-24 7:07 AM
"UPDATE: Thank you Semer CHERNI for your suggestions! I already tried the recommended steps before posting, but still face build issues. Here's exactly what happens:
After exporting from CubeMX to CubeIDE, the project imports but adds:
Auto-generated template.c/.h files (that don't match my board).
Incorrect file mappings (e.g., #include paths point to generic templates instead of my board-specific files).
Manual fixes I attempted:
Replaced template files with LoRaWAN_End_Node example files from:
STM32Cube_FW_WL_VX.X.X/Projects/[My_Board]/Applications/LoRaWAN.
Updated include paths in CubeIDE (Right-click project > Properties > C/C++ Build > Paths and Symbols).
I’ve tried the manual approach suggested, but it’s causing a snowball effect of nested errors,Each "fix" uncovers new, deeper problems in dependencies.Thanks for your help! I initially assumed this would be as simple as import-and-build, but clearly there are finer steps I'm missing to make it work properly.