2026-04-09 2:10 AM - last edited on 2026-04-09 3:54 AM by Imen.D
I am currently working with the LoRa-E5 Mini module based on the STM32WLE5JC microcontroller, and I am using STM32CubeIDE version 2.1.0 for development.
I have successfully tested basic GPIO functionality (LED blinking), and I am now trying to implement LoRa-based communication (transmission and reception) using the integrated SubGHz radio. However, I am facing challenges in properly configuring and utilizing the SubGHz_Phy middleware and radio drivers within STM32CubeIDE.
Specifically, I need guidance on the following:
Additionally, I encountered build errors such as:
"fatal error: stm32wlxx.h: No such file or directory"
I would appreciate guidance on resolving such dependency or configuration issues as well.
It would be very helpful if you could provide:
Thank you for your time and support.
2026-04-14 4:43 AM
Hello @lal_krishna
Try to use and Adapt the SubGHz_Phy examples from the STM32Cube_FW_WL firmware package, such as 'Ping_Pong': STM32CubeWL/Projects/NUCLEO-WL55JC/Applications/SubGHz_Phy/SubGHz_Phy_PingPong at main · STMicroelectronics/STM32CubeWL · GitHub
Regarding the error: "No such file or directory", the include paths might not be set up correctly, or an include file might be missing. You'd want to review the defines and include paths.
I recommend referring to the user manual UM2643: Getting started with STM32CubeWL for STM32WL Series and
Introduction to LoRaWAN® - stm32mcu