2023-12-14 08:47 AM
However, if I just enable a GPIO port (making any minor changes in the configuration) to the same SubG_Phy ping pong example, the whole code is regenerated to include the configuration changes to the code and it produces a lot of errors stating that "User to provide its board definitions". Only by just enabling a single GPIO port \ I am getting these many errors.
I tried many debugging tips like resetting, deleting the debug folder before running the program, restarting the whole project and IDE like for other projects, and replacing the radio. c and radio_driver.c files in the Middleware folder (as the errors were from these files) with the original radio.c and radio_driver.c files (before the changes). I tried my best to remove the errors and to run the program again, as the end goal is to successfully transmit sensor data with the LoRa communication protocol. Can anyone suggest me a solution to debug this error?
Solved! Go to Solution.
2023-12-18 07:43 AM
Hello @Subha_shree_bask
I've tried to reproduce the issue, but everything works perfectly on my side. I suggest you use the last version of CubeMX to generate the example and CubeIDE . Also, you have to use the last version of the STM32CubeWL.
Best Regards.
STTwo-32
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.
2023-12-18 07:43 AM
Hello @Subha_shree_bask
I've tried to reproduce the issue, but everything works perfectly on my side. I suggest you use the last version of CubeMX to generate the example and CubeIDE . Also, you have to use the last version of the STM32CubeWL.
Best Regards.
STTwo-32
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.
2023-12-25 06:16 AM
Hi,
Thank you for the reply I am using only the STM32CubeIDE software (As the configuration can also be done through this IDE) and using the "STM32 Project from existing CubeIDE configuration file(.ioc)" option to run the example program. It runs fine but on making some changes to the configuration lot of errors are produced. Also installing the STM32CubeMX and STM32WL software is necessary to successfully run the program?
2023-12-28 10:40 AM - edited 2023-12-28 10:46 AM
I uninstalled the STMCubeMX and the STMCubeIDE and installed the current latest version. Also I downloaded the lasted STM32WL package and used the "SubGHz_Phy_Per.ioc" file from the directory en.stm32cubewl-v1-3-0\STM32Cube_FW_WL_V1.3.0\Projects\B-WL5M-SUBG1\Applications\SubGHz_Phy\SubGHz_Phy_Per.
When I enable a GPIO port(making a small change in the configuration) while building there is no error and when debugging also it does not show any errors. But when I give the run button over the top left it shows that the Target is not responding though the STM32WL board is connected to the PC.
Also after enabling the GPIO port can when the code is getting regenerated I am getting this pop-up.
2024-01-05 06:40 AM
Hello @Subha_shree_bask
I suggest you follow this post. Also, you can try this configuration on the sys_conf.
Best regards.
STTwo-32
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.