CubeMX 6.7.0 and CubeWB 1.15.0 Broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-25 6:22 AM
Trying to compile (cube ide 1.11.0) the generated code from the attached ioc (which is the first example of the BLE mesh MOOC) generates a long list of "undefined references"
I had to reverse to MX 6.6 and WB 1.14.1 and works just fine
- Labels:
-
BLE
-
STM32CubeMX
-
STM32WB series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-26 2:08 AM
Hello @LBrav.1​,
Maybe this error is coming from the Linker or compiler?
You would need to make sure that your project contains properly all the header files with include files.
Other components must be enabled via stm32wbxx_hal_conf.h in your project directory.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-26 2:41 AM
When you generate code from cubemx and try to compile it without any modifications, you should not have linker or whatsoever errors.
​And as stated, this works fine with the previous version of MX and WB...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-26 6:59 AM
Hello @LBrav.1​
As my colleague @Imen DAHMEN​ have mentioned, It could be some header that are not included.
To narrow the possibility could you please describe the steps you followed that provoked this described behavior.
Also could you provide a copy of the build console that show all the compilation errors.
Kind regards,
Semer.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-26 8:21 AM
Hi​ Semer, the steps are stated in the first post, including the SW and versions used. Can't provide the console output given that I had to roll back in order to be able to keep working.
If st wants to reproduce the error, is as easy as to download the included ioc, generate and compile code with the mentioned​ SW versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-27 12:08 AM
Hello @LBrav.1​
I was asking to double check because I'm not able to reproduce the described behavior.
In fact I made the following test and all of them are OK when building the generated code.
- Open the provided *.ioc file with CubeMx 6.6.1 and generate code with 1.14.1 FW ==> Build OK
- Open the *.ioc file with CubeMx 6.7.0 and generate code with 1.14.1 FW ==> Build OK
- Open the *.ioc file with CubeMx 6.7.0 and migrate the project to 1.15.0 FW ==> Build OK
I recommend you to de as I did in the third option (use CubeMX 6.7.0 and migrate to 1.15.0 FW).
Kind regards,
Semer.
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.
