2023-05-03 05:38 AM
We are using LORAWAN with STM WL series Microcontroller.
For that we have used predefined method of getting readily code of both the functionality.
I have shared that link below.
After using above document we are able to get code with 0 errors and 0 warnings.
But when we open .ioc file and update something. It will change so many files and due to that we are not able to build the code succefully.
Any one have solution regarding the same?
How can I easily integrate any module (Like ADC, Timer, etc)
Regards
Manan
Solved! Go to Solution.
2023-05-04 07:39 AM - edited 2023-11-20 06:38 AM
Hello @MGami.1 and welcome to ST Community
Please make sure to follow all the steps mentioned in your shared link. As mentioned in the following note you cannot update the .ioc via CubeMX unless you repeat all the steps in your configuration after the modification as mentioned in this note.
hope this is helpful
Issam
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-05-04 07:39 AM - edited 2023-11-20 06:38 AM
Hello @MGami.1 and welcome to ST Community
Please make sure to follow all the steps mentioned in your shared link. As mentioned in the following note you cannot update the .ioc via CubeMX unless you repeat all the steps in your configuration after the modification as mentioned in this note.
hope this is helpful
Issam
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-05-09 05:23 AM
Thanks for the confirmation.
But when I worked with firmware version 1.0.3. Till now it seems like working fine. Means I am able to change the setting in the cubemx and it is reflecting without any other file modification in the cubemx.
Regards
Manan
2023-05-09 05:57 AM
Hi @MGami.1 and Thank you for your feedback.
I have checked just for version 1.0.0 and 1.2.0 as mention in the link you shared but normally there was an improvement for the following version . thanks again for the information . please mention it as best answer to be diffused to everyone .
Issam
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-05-09 08:01 AM
I ported the ST example app to the RAK3172 as a re-generatable/re-configurale project. It's currently at FW V1.2, upgrading isn't too hard and I'll get to it soon.RAK patched the FW repository so regeneration blows away changes. danak6jq/RAK3172: Port of STM32WLxx example for RAK3172 (github.com)
2023-05-09 09:43 AM
Hi Dana,
Thanks for sharing this information.
So I have a doubt like what is the different between you shared code and that is available on the given link which i have attached in my first question.
Whatever you shared code is you get by RAK community or you have made it?
Regards
Manan
2023-05-09 12:28 PM - edited 2023-11-20 06:38 AM
ST CubeIDE/CubeMX has an example application built-in, selected in the Cube options for the LoRaWAN stack ("End Node Skeleton"). So I created a completely new project with Cube for the STM32WLE5 CPU in the RAK3172, porting the GPIO and clock assignments. So I produced this myself using ST-provided framework code combined with RAK3172 code that I wrote myself.
This differs from the RAK-provided low-level code which patches the ST firmware repo; this is easily regenerated after making changes to the project in Cube.
2023-05-12 12:19 AM
HI Dana,
Thanks for your reply.
I have seen your code, which is generated by you. I am impressed with so much light weight code.
How can I generate my own code? Can you provide me steps, As I am very new for the STM32cubeIDE and STM32CubeMX.
2024-07-23 07:57 AM
Hi Dana, are you saying that I can open the .ioc file in STMCubeIDE, change the region and App EUI, then when I save it, all the correct changes will be made into the code?
2024-08-01 07:34 PM
Yes, you may reconfigure the project with Cube and regenerate it.