I am using the nRF51422 board with the SDK 11
I am trying to build the following example: ble_app_hrs_adc_battery_measurement.
repository: https://github.com/NordicPlayground/nrf51-ADC-examples/tree/master/ble_app_hrs_adc_battery_measurement
The README claims that it requires the SDK 11 to be able to run. However, when I build the project I receive several "No Such File or Directory" errors. Is there a mistake in the README? Does this program require another version of the SDK?
Errors:
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'nrf51422_xxac'
compiling boards.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\boards\boards.c": No such file or directory
..\..\..\..\..\..\components\boards\boards.c: 0 warnings, 1 error
compiling bsp.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\libraries\bsp\bsp.c": No such file or directory
..\..\..\..\..\..\components\libraries\bsp\bsp.c: 0 warnings, 1 error
compiling bsp_btn_ble.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\libraries\bsp\bsp_btn_ble.c": No such file or directory
..\..\..\..\..\..\components\libraries\bsp\bsp_btn_ble.c: 0 warnings, 1 error
compiling bsp_nfc.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\libraries\bsp\bsp_nfc.c": No such file or directory
..\..\..\..\..\..\components\libraries\bsp\bsp_nfc.c: 0 warnings, 1 error
compiling nrf_ble_gatt.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\ble\nrf_ble_gatt\nrf_ble_gatt.c": No such file or directory
..\..\..\..\..\..\components\ble\nrf_ble_gatt\nrf_ble_gatt.c: 0 warnings, 1 error
compiling main.c...
..\..\..\main.c(31): error: #5: cannot open source input file "boards.h": No such file or directory
#include "boards.h"
..\..\..\main.c: 0 warnings, 1 error
compiling ble_advertising.c...
..\..\..\..\..\..\components\ble\ble_advertising\ble_advertising.c(17): error: #5: cannot open source input file "pstorage.h": No such file or directory
#include "pstorage.h"
..\..\..\..\..\..\components\ble\ble_advertising\ble_advertising.c: 0 warnings, 1 error
compiling nrf_drv_common.c...
..\..\..\..\..\..\components\drivers_nrf\common\nrf_drv_common.h(20): error: #5: cannot open source input file "nrf_drv_config.h": No such file or directory
#include "nrf_drv_config.h"
..\..\..\..\..\..\components\drivers_nrf\common\nrf_drv_common.c: 0 warnings, 1 error
compiling nrf_drv_clock.c...
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.h(21): error: #5: cannot open source input file "nrf_drv_config.h": No such file or directory
#include "nrf_drv_config.h"
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c: 0 warnings, 1 error
compiling nrf_drv_gpiote.c...
..\..\..\..\..\..\components\drivers_nrf\gpiote\nrf_drv_gpiote.h(28): error: #5: cannot open source input file "nrf_drv_config.h": No such file or directory
#include "nrf_drv_config.h"
..\..\..\..\..\..\components\drivers_nrf\gpiote\nrf_drv_gpiote.c: 0 warnings, 1 error
compiling nrf_drv_uart.c...
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.h(35): error: #5: cannot open source input file "nrf_drv_config.h": No such file or directory
#include "nrf_drv_config.h"
..\..\..\..\..\..\components\drivers_nrf\uart\nrf_drv_uart.c: 0 warnings, 1 error
compiling nrf_drv_adc.c...
..\..\..\..\..\..\components\drivers_nrf\adc\nrf_drv_adc.h(14): error: #5: cannot open source input file "nrf_drv_config.h": No such file or directory
#include "nrf_drv_config.h"
..\..\..\..\..\..\components\drivers_nrf\adc\nrf_drv_adc.c: 0 warnings, 1 error
compiling fstorage.c...
..\..\..\..\..\..\components\libraries\fstorage\fstorage.c(14): error: #5: cannot open source input file "fstorage_config.h": No such file or directory
#include "fstorage_config.h"
..\..\..\..\..\..\components\libraries\fstorage\fstorage.c: 0 warnings, 1 error
compiling fds.c...
..\..\..\..\..\..\components\libraries\fds\fds.c(14): error: #5: cannot open source input file "fds_config.h": No such file or directory
#include "fds_config.h"
..\..\..\..\..\..\components\libraries\fds\fds.c: 0 warnings, 1 error
compiling sdk_errors.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\libraries\util\sdk_errors.c": No such file or directory
..\..\..\..\..\..\components\libraries\util\sdk_errors.c: 0 warnings, 1 error
compiling app_button.c...
..\..\..\..\..\..\components\drivers_nrf\gpiote\nrf_drv_gpiote.h(28): error: #5: cannot open source input file "nrf_drv_config.h": No such file or directory
#include "nrf_drv_config.h"
..\..\..\..\..\..\components\libraries\button\app_button.c: 0 warnings, 1 error
compiling nrf_log_backend_serial.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_serial.c": No such file or directory
..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_serial.c: 0 warnings, 1 error
compiling nrf_log_frontend.c...
"no source": Error: #5: cannot open source input file "..\..\..\..\..\..\components\libraries\log\src\nrf_log_frontend.c": No such file or directory
..\..\..\..\..\..\components\libraries\log\src\nrf_log_frontend.c: 0 warnings, 1 error
compiling softdevice_handler.c...
..\..\..\..\..\..\components\softdevice\common\softdevice_handler\softdevice_handler.c(25): error: #5: cannot open source input file "nrf_drv_config.h": No such file or directory
#include "nrf_drv_config.h"
..\..\..\..\..\..\components\softdevice\common\softdevice_handler\softdevice_handler.c: 0 warnings, 1 error
".\_build\nrf51422_xxac.axf" - 19 Error(s), 0 Warning(s).
Target not created.