Unable to compile core_cm4.h not found
Posted: Thu Jan 16, 2020 8:55 am
Hi everybody,
I'm facing to STM32 development on Arduino IDE for the first time.
I have a NUCLEO board L452RE-P with a X-NUCLEO-NFC03A1 expansion board on it and I would like to try it with X_NUCLEO_NFC03A1_HelloWorld example but during compilation I get this error message:
I'm facing to STM32 development on Arduino IDE for the first time.
I have a NUCLEO board L452RE-P with a X-NUCLEO-NFC03A1 expansion board on it and I would like to try it with X_NUCLEO_NFC03A1_HelloWorld example but during compilation I get this error message:
What's wrong with it? Have I some missing library dependencies or some misconfiguration of my IDE? Thank you in advance.In file included from /Users/mark/Library/Arduino15/packages/STM32/hardware/stm32/1.8.0/system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h:140,
from /Users/mark/Library/Arduino15/packages/STM32/hardware/stm32/1.8.0/cores/arduino/stm32/stm32_def.h:48,
from /Users/mark/Library/Arduino15/packages/STM32/hardware/stm32/1.8.0/cores/arduino/stm32/clock.h:43,
from /Users/mark/Library/Arduino15/packages/STM32/hardware/stm32/1.8.0/cores/arduino/wiring_time.h:23,
from /Users/mark/Library/Arduino15/packages/STM32/hardware/stm32/1.8.0/cores/arduino/wiring.h:38,
from /Users/mark/Library/Arduino15/packages/STM32/hardware/stm32/1.8.0/cores/arduino/Arduino.h:32,
from sketch/X_NUCLEO_NFC03A1_HelloWorld.ino.cpp:1:
/Users/mark/Library/Arduino15/packages/STM32/hardware/stm32/1.8.0/system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h:154:10: fatal error: core_cm4.h: No such file or directory
154 | #include "core_cm4.h" /* Cortex-M4 processor and core peripherals */
| ^~~~~~~~~~~~
compilation terminated.
exit status 1
Errore durante la compilazione per la scheda Nucleo-64.