cancel
Showing results for 
Search instead for 
Did you mean: 

Doesn't find file in CubeIDE when compiling project "fatal error: FreeRTOS.h: No such file or directory" and "cmsis_os.h: No such file or directory"

AKruh.1
Associate II
 
8 REPLIES 8
AKruh.1
Associate II

0693W00000Kb9kqQAB.png

AKruh.1
Associate II

I turn on freeRTOS in my project

Sara BEN HADJ YAHYA
ST Employee

Hello @AKruh.1​ ,

Thanks for your feedback,

Could you please share your ioc file ?

Thanks,

Sara.

Yes! I used cube 1.8 and 1.7 versions. Same. I am sending the file.

Sara BEN HADJ YAHYA
ST Employee

Hello @AKruh.1​ ,

Thanks for sharing the ioc file.

I assume that you didn't use CubeMX standalone, instead you used CubeIDE and the MX plugin.

I didn't face any issue from my side, I just opened the ioc using CubeMX standalone and then generated the project to CubeIDE.

I will try to do some more tests, in the meanwhile could you please share a detailed scenario that led to this issue.

I am adding @mattias norlander​  from CubeIDE team to the loop.

Sara.

Thanks! I downloaded Cube MX version 6.4.0. Created a project there and opened it with CubeIDE . And the error is gone!

I think it's some kind of bug in CubeIDE when you create a project with MX plugin!

mattias norlander
ST Employee

In the project where you face the build error.

Do you remember whether you have switched between CMSIS v1 and v2? We have a known bug, internal ticket reference 95887.

I have some colleagues who will try to re-produce, will return on this topic.

Yes. I changed. But the bug has always been there. I recreated the project and nothing changed. It only helped to create in CubeMX.