cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeF0 Getting Started Error

Arete sw
Associate II
Posted on July 19, 2017 at 01:26

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Arete sw
Associate II
Posted on July 19, 2017 at 18:40

I had to add this path to the include paths:

..\..\..\..\..\..\Drivers\CMSIS\Include

It is working now.

Thanks

View solution in original post

2 REPLIES 2
Imen.D
ST Employee
Posted on July 19, 2017 at 12:22

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Arete sw
Associate II
Posted on July 19, 2017 at 18:40

I had to add this path to the include paths:

..\..\..\..\..\..\Drivers\CMSIS\Include

It is working now.

Thanks