This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

keil compile error

Hello: I open nrf51-ble-tutorial-service-master\SDK 11.0.0\nrf5-ble-tutorial-service\pca10040\s132\arm5_no_packs\nrf52-ble-tutorial-service.uvprojx and compike then find the output : Error instantiating RTE components Error #540: 'ARM::CMSIS:CORE:4.3.0' component is not available for current target Error #540: 'NordicSemiconductor::Device:Startup:8.5.0' component is not available for current target

I change the CMSIS Properties Version to 3.20 and change the Device Properties version to 8.0.3 to resolve . Compile again the output is : ......\main.c(31): error: #5: cannot open source input file "nordic_common.h": No such file or directory ......\our_service.h(40): error: #5: cannot open source input file "ble.h": No such file or directory bsp.c: Error: #5: cannot open source input file "..........\bsp\bsp.c": No such file or directory

please tell me why keill can not build it and how to resolve it ?

  • I had a similar problem with a different example. It seems that the Nordic SDK (I'm guessing you are using 11.0.0) is a bit pecky about tool versions.

    Check your tool version. I used an older version of uVision5 (5.10.0.2 ) and the ARM CMSIS CORE 4.3.0 is not available in that version of the tools. Installing the required .pack file is not possible so I had to upgrade to a newer version of uVision5 (5.21a)

    Now the Nordic device family pack 8.5.0 was still missing and the latest version available at Keil's website is 8.3.something ???

    A bit of browsing pointed me to:

    developer.nordicsemi.com/.../

    Download the 8.5.0 pack from there and restart (or reload the packages) in uVision. Now the examples compile :-)

Related