The Project references devices, flies or libraries that are not installed.
Download and Install :
Third Party Device Support for 'Nordic : nRF51822_xxAA'
(Device not included in Legacy Device Database)
接下來
Error: Device not found
Device: 'nRF51822_xxAA'
Vendor: 'Nordic'
Please update your device selection
(直覺是 SDK 出了問題,或者是設定有問題)
2.在 main.c 中出現
fatal error in include chain (nrf51.h): 'core_cm0.h' fule not found
以下是 compile 出現的錯誤
----------------------------------------------------------------------------------------------------------------
*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
compiling system_nrf51.c...
..\Include\nrf51.h(101): 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 */
..\Source\templates\system_nrf51.c: 0 warnings, 1 error
compiling main.c...
..\Include\nrf51.h(101): 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 nrf_delay.c...
..\Include\nrf51.h(101): 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 */
..\Source\nrf_delay\nrf_delay.c: 0 warnings, 1 error
compiling led.c...
..\Include\nrf51.h(101): 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 */
..\drive\led.c: 0 warnings, 1 error
".\led.axf" - 4 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
-------------------------------------------------------------------------------------------------------------------------------------------
3.在flash download 時出現錯誤
*** error 56: cannot open file
Error: Flash Download failed - Could not load file 'F:\NRF52\Example_qfv8\exam1_light_LED\user\led.axf'