Wio E5 CubeMX library include issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-18 10:16 PM - last edited on ‎2024-12-19 2: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?
- Labels:
-
STM32WL series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 2: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?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-19 9: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-25 6:48 AM
Hello @user_01 ,
Maybe this is related to the limitation with STM32CubeMx:
STM32CubeMX errata 6.13.x - stm32mcu
- If LoRaWAN®, SubGHZ_Phy or SigfoxTM middleware is used with the option Generate peripheral initialization as a pair of '.c/.h' files per peripheral disabled, it is advised to untick the visibility of the SUBGHZ and IPCC peripherals in [Project Manager]>[Advanced Settings] Generated Function Calls panel to avoid an issue when compiling.
Thanks
Imen
