This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

core_cm0.h: No such file or directory

Dear Friend,

Using this tutorial I imported a Blank Blinky Kiel Project of SDK 12.30.

I am using a custom board with nrf51822, I imported the PCA100028 version.

https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/segger-embedded-studio-a-cross-platform-ide

All seemed to go well untill I got an error when building, the error is :-

First the error was:-

nrf.h: No such file or directory

now the error is :-

core_cm0.h: No such file or directory

I added this to my ../../../../../../components/toolchain/CMSIS/Include as some one had suggested to my user directory includes in the project options. as suggested below:-

https://devzone.nordicsemi.com/f/nordic-q-a/29389/import-project-core_cm0-h-no-such-file-or-directory

But still the error persists

Parents Reply Children
  • Referring to Bjørn:

    "Alternatively you can use the Code > Build > Memory Segments to define the Memory Segments instead of creating a dedicated Memory Map file. This is what we do today in our latest SDK."

    Thus, you click on Project-->options, then you choose common in the top left corner. The option can be found under Code-->Build, where you will see a field named Memory Segments.

    Best regards,

    Simon

Related