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

Error compiling ble_app_beacon

I'm trying to compile the ble_app_beacon_s110_pca20006 project in Kile uVision5 and I get the "cannot open source input file "core_cm0.h": No such file or directory" error. I verified that ARM:CMSIS pack exists. I'm running a Windows 8 virtual machine.

This is the full error messages: Build target 'nrf51822_xxac_s110' compiling main.c... ..........\components\drivers_nrf\hal\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 compiling led_softblink.c... ..........\components\drivers_nrf\hal\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 / ........\common\led_softblink\led_softblink.c: 0 warnings, 1 error compiling system_nrf51.c... ..........\components\drivers_nrf\hal\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 / ..........\components\toolchain\system_nrf51.c: 0 warnings, 1 error compiling nrf_delay.c... ..........\components\drivers_nrf\hal\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 / ..........\components\drivers_nrf\hal\nrf_delay.c: 0 warnings, 1 error compiling dfu_app_handler_mod.c... ..........\components\drivers_nrf\hal\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 / ........\common\sdk_modified\dfu_app_handler\dfu_app_handler_mod.c: 0 warnings, 1 error compiling pstorage_mod.c... ..........\components\drivers_nrf\hal\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 / ........\common\sdk_modified\pstorage\pstorage_mod.c: 0 warnings, 1 error compiling app_button.c... ..........\components\drivers_nrf\hal\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 / ..........\components\libraries\button\app_button.c: 0 warnings, 1 error compiling app_error.c... ..........\components\drivers_nrf\hal\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 / ..........\components\libraries\util\app_error.c: 0 warnings, 1 error compiling app_gpiote.c... ..........\components\drivers_nrf\hal\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 / ..........\components\libraries\gpiote\app_gpiote.c: 0 warnings, 1 error compiling app_scheduler.c... ..........\components\drivers_nrf\hal\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 / ..........\components\libraries\scheduler\app_scheduler.c: 0 warnings, 1 error compiling app_timer.c... ..........\components\drivers_nrf\hal\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 / ..........\components\libraries\timer\app_timer.c: 0 warnings, 1 error compiling softdevice_handler.c... ..........\components\drivers_nrf\hal\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 */ ..........\components\softdevice\common\softdevice_handler\softdevice_handler.c: 0 warnings, 1 error "._build\nrf51822_beacon_app.axf" - 12 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01

Related