cancel
Showing results for 
Search instead for 
Did you mean: 

How to update STM32CubeMX version in CubeIDE?

ledi001
Associate III

Hi,

i want to import BLE_p2pServer example in CubeIDE 1.16.0 i got the message "This file has been generated with STM32CubeMX version '6.12.1'.Your current STM32CubeMX version is '6.12.0'."

2024-10-10_13h35_10.png

 

When i check for Updates, then I only have the option of updating CubeIDE itself to V1.16.1. How can I update CubeMx to V6.12.1 without updating CubeIDE? I think CubeMx is part of CubeIDE or do I have to install cubeMx separately?

2024-10-10_13h36_10.png

7 REPLIES 7
Ghofrane GSOURI
ST Employee

Hello @ledi001 

CubeMX 6.12.1 is integrated in CubeIDE 6.12.1 so just update the CubeIDE and you will be able to work with your IOC generated with CubeMX 6.12.1

 

THX

Ghofrane

Hello @Ghofrane GSOURI 

thanks for help!

I think you mean CubeMX 6.12.1 is integrated in CubeIDE 1.16.1 and not in CubeIDE 6.12.1, right?

Ok, i did the update to CubeIDE 1.16.1, and first it seams to work, but unfortunately i got some erros after compiling.

Then i cleaned up the project, but the errors remained (it seems that ble_wrap.c is not found:

 

C:/Users/Admin/STM32CubeIDE/workspace_1.16.0/BLE_p2pServer/STM32_WPAN/Target/bleplat.c:28:10: fatal error: ble_wrap.c: No such file or directory

28 | #include "ble_wrap.c"

| ^~~~~~~~~~~~

compilation terminated.

make: *** [Application/User/STM32_WPAN/Target/subdir.mk:34: Application/User/STM32_WPAN/Target/bleplat.o] Error 1

make: *** Waiting for unfinished jobs....

"make -j8 all" terminated with exit code 2. Build might be incomplete.

 

16:23:03 Build Failed. 3 errors, 0 warnings. (took 7s.789ms)

 

2024-10-10_16h28_24.png

Pavel A.
Evangelist III

Use standalone CubeMX. Can install several versions side by side.

@Ghofrane GSOURI 

And what I also noticed is that nothing is displayed in the Build Analyzer window...

2024-10-10_16h41_15.png

Hello @ledi001 

I was able to reproduce the issue , I will check this internally and get back to you asap.

GhofraneGSOURI_0-1728576033550.png

For the moment as a workaround add this file ble_wrap.c you can find it under this path \STM32Cube\Repository\STM32Cube_FW_WBA_V1.4.1\Middlewares\ST\STM32_WPAN\ble\stack\include\auto  to your project then rebuild 

Hello @ledi001 

This issue has been reported to our dev team in this ticket  193443  .

I will keep you posted with updates.

Thx

Ghofrane


@ledi001 wrote:

@Ghofrane GSOURI 

And what I also noticed is that nothing is displayed in the Build Analyzer window...

2024-10-10_16h41_15.png


If you can't get the project to build without errors, clicking on the refresh button icon won't update any info.

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.