2024-12-18 10:16 PM - last edited on 2024-12-19 02:56 AM by Andrew Neil
I am using Wio E5 board for a LoRawan project and running the project FreeRTOS LoRa Wio E5 in STM32CubeIDE. When building the project as it is without changing anything in CubeMX it works fine. I could change the EUI values, region, etc.. in the respective files and no errors after build and my board joins and sends data to TTN successfully.
When I try to enable I2C for my sensor communication or anything for the case in Cubemx and build the generated code, all the library references which were previously there just go away and so it throws errors such as no file or directory, macro, structure,etc.. exists. Every library folder path is included for the compiler and in paths and symbols, and also all the source folders are well included in the source locations which is why it worked without changing anything using CubeMX.
What might be the issue?
2024-12-19 02:56 AM
@user_01 wrote:I am using Wio E5 board
You mean this: https://wiki.seeedstudio.com/LoRa_E5_Dev_Board/ ?
note that it's a 3rd-party product - not ST - so have you contacted Seeed Studio for support?
https://wiki.seeedstudio.com/LoRa_E5_Dev_Board/#tech-support--product-discussion
@user_01 wrote:What might be the issue?
Maybe the original Seeed Studio project had put some custom stuff outside the USER areas - so it gets over-written when CubeMX re-generates the code?
2024-12-19 09:32 AM
Yeah, I'm using the same board (but the mini version of it) as from the link you've given. No, I haven't asked in the Seeed studio forum yet. Any workarounds for that or has anyone faced similar problems with cubemx?