cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cubeide 1.19 and CubeMX 6.16 compatibility

AlexES
Associate II

Hello. 

My current set up is STM32Cubeide 1.19 which has an integrated version of the CubeMX (6.15)
I'm currently working on some st git examples, that seem to have been created with CubeMX (6.16), thus i cannot open the .ioc file on cubeIDE. I installed cubeMX 6.16 in order to edit the .ioc file and hit generate. 
Once i tried to build the project on cubeIDE though i got various errors

make: *** No rule to make target 'C:/Users/asantorinaios/STM32CubeIDE/workspace_1.19.0/BLE_Beacon/Drivers/STM32WBAxx_HAL_Driver/Src/stm32wbaxx_hal_gtzc.c', needed by 'Drivers/STM32WBAxx_HAL_Driver/stm32wbaxx_hal_gtzc.o'.  Stop.
"make -j12 all" terminated with exit code 2. Build might be incomplete.

If i try to exclude said file from the build, i another similar error. 
Is the cubeMX 6.16 incompatible with the 1.19 cubeIDE. Do i need to download cubeide 2.0 or is there another solution ?

5 REPLIES 5
Andrew Neil
Super User

If the examples were made with  CubeMX v6.16 then, presumably, they are intended for use with CubeIDE v2.0.0 ?

Note that you can install multiple versions of CubeIDE simultaneously (eg, both 1.19 and 2.0.0)  - you just need a separate Workspace for each.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Ghofrane GSOURI
ST Employee

Hello @AlexES 

You should be able to generate code with STM32CubeMX 6.16 and then open and build that project in STM32CubeIDE 1.19.

Could you please share your IOC in order to check your configuration .

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.

I've inserted 2 .ioc files. the first is the one that i downlaoded from git with no MX editing and the second is after MX editing. I can successfuly build the first one, but not the second

Just downloaded cubeIDE 2.0 and still have the same issue. I can finish the build on the unedited .ioc file, but i get multiple errors if i edit thhe file via MX

To be pedantic, you don't build an .ioc file - you use the .ioc file to generate code (in MX), and then you build that code.

 

Have you tried generating the projects into two separate folder trees, and then doing a diff between the two trees?

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.