cancel
Showing results for 
Search instead for 
Did you mean: 

How to resolve "Fatal error: core_cm4.h: No such file or directory"?

HBugl.1
Associate

Hi everyone,

When I try flashing a sample project [en.fp-atr-tomtom1 for STM32L496G-Discovery for BG96] from the STMicro website on to the P-L496G-CELL02 development board, I receive this error. I have attempted to manually add the header file directory for the includes but this does not seem to resolve the problem. Does anyone have any other suggestions as to what I can try?

2 REPLIES 2
KnarfB
Principal III

Thats an essential header file for the Cortex-M4 core which comes with ARM CMSIS. Looks like your source code tree is out-of-order.

I appreciate the fast response! How would I go about re-ordering my source code tree in trueStudio?