cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE 2.1.1 errors with CubeMX 6.16.1 generated project

zeboss49
Associate III

Hello,

I just created a new project for the STM32L542CEU MCU with CubeMX and I'm facing two issues with the imported project in CubeIDE.

First issue, rather easy to fix, some path for includes files are missing in the project.

Second issue, two include files are missing:

Description Resource Path Location Type
fatal error: ARMCM0.h: No such file or directory RTE_Components.h /CURRENT_SENSING/Drivers/CMSIS/NN/NN_Lib_Tests/nn_test/RTE/_ARMCM0 line 17 C/C++ Problem
fatal error: irq_ctrl.h: No such file or directory os_tick_gtim.c /CURRENT_SENSING/Drivers/CMSIS/RTOS2/Source line 26 C/C++ Problem
make: *** [Drivers/CMSIS/RTOS2/Source/subdir.mk:25: Drivers/CMSIS/RTOS2/Source/os_systick.o] Error 1 CURRENT_SENSING C/C++ Problem
make: *** [Drivers/CMSIS/RTOS2/Source/subdir.mk:25: Drivers/CMSIS/RTOS2/Source/os_tick_gtim.o] Error 1 CURRENT_SENSING C/C++ Problem
make: *** [Drivers/CMSIS/RTOS2/Source/subdir.mk:25: Drivers/CMSIS/RTOS2/Source/os_tick_ptim.o] Error 1 CURRENT_SENSING C/C++ Problem
make: *** Waiting for unfinished jobs.... CURRENT_SENSING C/C++ Problem

Thanks in advance for your help.

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @zeboss49 

Further to your comment, I reproduced the behavior using STM32CubeMX 6.17.0 and the build finished without any errors.

MahmoudBenRomdhane_0-1776789028270.png

 

Thanks.

Mahmoud

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.

View solution in original post

5 REPLIES 5
zeboss49
Associate III

Hello,

updating CubeMX to 6.17 does not solve the issues.

Hello @@zeboss49 

Let me thank you for posting.

For more investigation, could you please provide your Ioc.File.

Thanks.

Mahmoud

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.

Please, find the IOC file as an attachment.

Thanks for the answer

 

zeboss49
Associate III

Hello,

issue is solved.

I mistakenly selected EWARM as the toolchain.

I've destroyed all the project at the except of the .ioc file, regenerated the code and now, all is OK.

Sorry for the annoyance.

Regards

Didier

Hello @zeboss49 

Further to your comment, I reproduced the behavior using STM32CubeMX 6.17.0 and the build finished without any errors.

MahmoudBenRomdhane_0-1776789028270.png

 

Thanks.

Mahmoud

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.