2020-07-03 05:00 PM
STM32CubeMX 5.6.1 does not generate the Application app_x-cube-ble1.c so the initialization is also missing in main.c
Is there a fix for this?
2020-07-04 07:16 AM
Fixed - with STM32CubeMX 5.40
I tried older versions of CubeMX, and STM32CubeMX 5.40 does generate the Application app_x-cube-ble1.c file and the initialisation in main.c: MX_BlueNRG_MS_Iinit()
I hope ST fixes this in the latest STM32CubeMX
2020-07-06 03:58 AM
Hi @gerhard
could you please share your ioc file?
Thanks
Khouloud
2020-07-06 05:41 AM
2020-07-06 05:42 AM
2020-07-06 05:46 AM
Thanks @gerhard , well it's not a bug , In the new version , the "app_x-cube-ble1.c" has been replaced with "app_bluenrg_ms.c" , and you will find the #include "app_bluenrg_ms.h" in main.c
Best Regards,
Khouloud
2020-07-06 06:08 AM
Khouloud,
Unfortunately this is not the case.
app_x-cube-ble1.c does not get generated
#include "app_bluenrg_ms.h" is also NOT in main.c
I generate the CubeMX project in the same way with 5.6.1 and 5.4.0.
I tried this many times.
PS.
I noticed that sys.c and sys.h is also not generated, even thous it was set up in CubeMX
Regards
2020-07-06 06:29 AM
Hi @gerhard
You need to select an application under Device in the pack to optain "app_bluenrg_ms.c".
For the sys.c/h it was a bug in 5.4.0 and now fixed (they should not be generated).
Best Rgerads,
Khouloud