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
  • The SDK should have an include folder that contains the header file. For example on one of my older keil based projects I have the following include path:

    ......\Nordic FW and SDK\nRF51 SDK_v5.2.0.39364\Nordic\nrf51822\Include\gcc

    Which picks up that header file for me. So you should be able to locate the file in your project and add the appropriate path. Now that I look at that, the gcc folder might not be the correct one as I think Keil uses ARMCC, but its working so no harm no foul.

Reply
  • The SDK should have an include folder that contains the header file. For example on one of my older keil based projects I have the following include path:

    ......\Nordic FW and SDK\nRF51 SDK_v5.2.0.39364\Nordic\nrf51822\Include\gcc

    Which picks up that header file for me. So you should be able to locate the file in your project and add the appropriate path. Now that I look at that, the gcc folder might not be the correct one as I think Keil uses ARMCC, but its working so no harm no foul.

Children
Related