2017-07-18 04:26 PM
Hi,
I am just getting started evaluating the STM32F0 Discovery board with the Keil MDK-ARM Toolchain. Following all the quick start guides and the STM32CubeF0GettingStarted to run the examples leads to the following error:
'error: ..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f091xc.h(131): error: #5: cannot open source input file 'core_cm0.h': No such file or directory'
Any advice? thanks.
Solved! Go to Solution.
2017-07-19 09:40 AM
I had to add this path to the include paths:
..\..\..\..\..\..\Drivers\CMSIS\Include
It is working now.
Thanks
2017-07-19 03:22 AM
Hello
aretesw
,Maybe you haven't configured correctly the Include paths within your project.
So, you have to review the defines passed to thecompiler with a list of include file paths and check this in Keil :
Project->Options for Target STM..->C/C++ tab.
With Regards
Imen
2017-07-19 09:40 AM
I had to add this path to the include paths:
..\..\..\..\..\..\Drivers\CMSIS\Include
It is working now.
Thanks