cancel
Showing results for 
Search instead for 
Did you mean: 

fatal error: core_cm4.h: No such file or directory stm32f407xx.h /test/Drivers/CMSIS/Device/ST/STM32F4xx/Include

Fguof.1
Associate

This error occurs in the compilation of the project generated by stm32ubemx. How can I solve it.thank you.0690X00000BvbHWQAZ.png

2 REPLIES 2
KnarfB
Principal III

The core_cm4.h header file is in <your projectfolder>/Drivers/CMSIS/Include. Either that folder was removed/renamed or its not in the include folder list. Generate a new project from scratch and compare/copy files and folders as needed.

Include Paths not properly set up, or local project directory where files not completely copied

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..