Fatal error: intrinsics.h: No such file or directory

Hello,

We are using STM32F401VxT6 mcu for our project. I added freertos on the stmcube and i am using clion to compiler. And i am getting the error below on the compile screen.

Middlewares/Third_Party/FreeRTOS/Source/portable/IAR/ARM_CM7/r0p1/port.c:32:10: fatal error: intrinsics.h: No such file or directory

how it should be solve ?

Best Regards

I don’t know what clion is, but that is an IAR specific header file, so you are using a port file specific to the IAR tools. The name of the file also depends on the IAR version, if you have a very old version. It’s either intrinsic.h or intrinsics.h.