LoRoWAN problem with CUBEMX
Hello
I noticed a strange behavior on CUBEMX when creating new project with STM32WLE5J8I MCU.
When i activate a LORAWAN application and i build the project, ther's many erros of compilation but when i go to the "project manager" and "Generate files" option and when i activate " Generate Peripheral initialisation as a pair of .c/.h files per peripheral" and i build again, errors disappear!!!!! i don't found the relation but it's strange as behavior and it make me not confident about cubeMX with STM32WL Serie.
My doubt was confirmed when i tried to import from example the LORAWAN End Node example to CUBEIDE. When i build directly, i have 0 error 0 warning everything OK and i can see on the serial communication the differents key and the communication with a gateway was successfully made!!! BUT when i open .ioc file of the project and want to change for example the periode of transmission of the message or change the HW configuration and i build again, i obtain 1124 errors!!!!! strange NO ?
The solution for this was proposed by a community member Cartu38 OpenDEV and i thank him again. it consist of deleting ( Core & Target & App & User & Drivers & Middlewares folders) and build again and errors disappear by magic!!!!!
And now the more important for me because i made a custom board containing the STM32WLE5J8I MCU i try to import the Nucleo LORAWAN End Node application to my board!!
the solution proposed always by Cartu38 consist of opening with CUBEMX the .ioc of the eND Node application and change the MCU of the nucleo board by the STM32WLE5J8I with the functionality of CUBEMX. it's OK i made this but when i build the project there's 0 error but i lost the LORAWAN Application and when i activate the LORAWAN i had 9 errors with NO End Node LORAWAN application like in the Nucleo board.
So please can you find me a solution because there's NO TUTORIAL to learn HOW creating LORAWAN End Node easily!!! the only thing is the AN5406 and it's evident for a beginner in development.
For the other serie of MCU it's easy to find a video on youtube explaining how to configure each part of the MCU but with teh STM32WL serie ther's nothing!!!!
Thank you in advance
