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

Example Project building error in Keil.

I am trying to run one of the examples in the SDK (...\nRF5_SDK_11.0.0_89a8197\examples\peripheral\blinky\pca10028\s130\arm4) with the name "blinky_s130_pca10028" but its not building and give some errors once i click on build. I am trying to load the hex file generated after this building this project using Keil.

Kindly help in this regard.

Parents
  • Following is the output i got once i compile the project.

    *** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' compiling main.c... ............\components\device\nrf51.h(119): error: #5: cannot open source input file "core_cm0.h": No such file or directory #include "core_cm0.h" /*!< Cortex-M0 processor and core peripherals */ ......\main.c: 0 warnings, 1 error "......\main.c" - 1 Error(s), 0 Warning(s).

Reply
  • Following is the output i got once i compile the project.

    *** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' compiling main.c... ............\components\device\nrf51.h(119): error: #5: cannot open source input file "core_cm0.h": No such file or directory #include "core_cm0.h" /*!< Cortex-M0 processor and core peripherals */ ......\main.c: 0 warnings, 1 error "......\main.c" - 1 Error(s), 0 Warning(s).

Children
No Data
Related