Skip to main content
ledi001
Associate III
October 10, 2024
Question

How to update STM32CubeMX version in CubeIDE?

  • October 10, 2024
  • 2 replies
  • 4324 views

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

2 replies

Ghofrane GSOURI
Technical Moderator
October 10, 2024

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

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.
ledi001
ledi001Author
Associate III
October 10, 2024

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

ledi001
ledi001Author
Associate III
October 10, 2024

@Ghofrane GSOURI 

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

2024-10-10_16h41_15.png

Pavel A.
Super User
October 10, 2024

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