STM32CubeIDE: fatal error: core_cm4.h: No such file or directory
Hi there,
I am having trouble with CubeIDE: When building my project i get the following error:
"fatal error: core_cm4.h: No such file or directory"
I am using:
- MCSDK 5.Y.1
- STM32CubeMX
- STM32CubeIDE 1.6.1
- STM32F302R8 NucleoBoard
- X-NUCLEO-IHM07M1 motor driver
- SPI-Sensor
- two external buttons
What I did to get to this point:
- Generated the project via MotorControl Workbench and CubeMX --> project is for a Motor Control application
- Modified the project with CubeMX: added few GPIO Inputs and Outputs, added a Timer (TIM16) and SPI2
- Added the Project to the CubeIDE workspace
- added some own Code
- hit build
- got the error: "fatal error: core_cm4.h: No such file or directory"
- tried to add the include path manually --> did not work
Hope someone can help me on this
Greetings MM1
