Dear Members,
I can not compile the software in SDK for ANT background scanning,
Error messages :
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'nrf52832_xxaa' compiling ant_channel_config.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\ant\ant_channel_config\ant_channel_config.c: 0 warnings, 1 error compiling ant_search_config.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\ant\ant_search_config\ant_search_config.c: 0 warnings, 1 error compiling app_button.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\button\app_button.c: 0 warnings, 1 error compiling boards.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\components\boards\boards.c: 0 warnings, 1 error compiling nrfx_uarte.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\modules\nrfx\drivers\src\nrfx_uarte.c: 0 warnings, 1 error compiling nrfx_gpiote.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\modules\nrfx\drivers\src\nrfx_gpiote.c: 0 warnings, 1 error compiling app_error_handler_keil.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\util\app_error_handler_keil.c: 0 warnings, 1 error compiling main.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\main.c: 0 warnings, 1 error compiling bsp.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\components\libraries\bsp\bsp.c: 0 warnings, 1 error compiling nrfx_atomic.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\modules\nrfx\soc\nrfx_atomic.c: 0 warnings, 1 error compiling nrf_drv_uart.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\integration\nrfx\legacy\nrf_drv_uart.c: 0 warnings, 1 error compiling nrfx_uart.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\modules\nrfx\drivers\src\nrfx_uart.c: 0 warnings, 1 error compiling nrfx_prs.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\modules\nrfx\drivers\src\prs\nrfx_prs.c: 0 warnings, 1 error compiling app_scheduler.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\scheduler\app_scheduler.c: 0 warnings, 1 error compiling app_error.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\util\app_error.c: 0 warnings, 1 error compiling hardfault_handler_keil.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\hardfault\nrf52\handler\hardfault_handler_keil.c: 0 warnings, 1 error compiling hardfault_implementation.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\hardfault\hardfault_implementation.c: 0 warnings, 1 error compiling app_error_weak.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\util\app_error_weak.c: 0 warnings, 1 error compiling nrf_atomic.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\atomic\nrf_atomic.c: 0 warnings, 1 error compiling nrf_fprintf.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\external\fprintf\nrf_fprintf.c: 0 warnings, 1 error compiling nrf_fprintf_format.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\external\fprintf\nrf_fprintf_format.c: 0 warnings, 1 error compiling nrf_balloc.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\balloc\nrf_balloc.c: 0 warnings, 1 error compiling app_util_platform.c... ..\..\..\..\..\..\components\libraries\util\app_util_platform.h(56): error: #5: cannot open source input file "nrf_soc.h": No such file or directory #include "nrf_soc.h" ..\..\..\..\..\..\components\libraries\util\app_util_platform.c: 0 warnings, 1 error compiling app_timer2.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\timer\app_timer2.c: 0 warnings, 1 error compiling drv_rtc.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\components\libraries\timer\drv_rtc.c: 0 warnings, 1 error compiling nrf_pwr_mgmt.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\pwr_mgmt\nrf_pwr_mgmt.c: 0 warnings, 1 error compiling nrf_memobj.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\memobj\nrf_memobj.c: 0 warnings, 1 error compiling nrf_assert.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\util\nrf_assert.c: 0 warnings, 1 error compiling nrf_section_iter.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\experimental_section_vars\nrf_section_iter.c: 0 warnings, 1 error compiling nrf_ringbuf.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\ringbuf\nrf_ringbuf.c: 0 warnings, 1 error compiling nrf_sortlist.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\sortlist\nrf_sortlist.c: 0 warnings, 1 error compiling nrf_atfifo.c... ..\..\..\..\..\..\components\libraries\util\app_util.h(133): error: #5: cannot open source input file "nrf_mbr.h": No such file or directory #include "nrf_mbr.h" ..\..\..\..\..\..\components\libraries\atomic_fifo\nrf_atfifo.c: 0 warnings, 1 error compiling nrf_strerror.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\strerror\nrf_strerror.c: 0 warnings, 1 error compiling nrf_log_backend_rtt.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_rtt.c: 0 warnings, 1 error compiling nrf_log_backend_uart.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_uart.c: 0 warnings, 1 error compiling nrf_log_backend_serial.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_serial.c: 0 warnings, 1 error compiling nrf_log_default_backends.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\log\src\nrf_log_default_backends.c: 0 warnings, 1 error compiling nrf_log_frontend.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\log\src\nrf_log_frontend.c: 0 warnings, 1 error compiling nrf_log_str_formatter.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\libraries\log\src\nrf_log_str_formatter.c: 0 warnings, 1 error compiling nrf_sdh.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\softdevice\common\nrf_sdh.c: 0 warnings, 1 error assembling arm_startup_nrf52.s... compiling nrf_sdh_ant.c... ..\..\..\..\..\..\components\libraries\util\sdk_errors.h(73): error: #5: cannot open source input file "nrf_error.h": No such file or directory #include "nrf_error.h" ..\..\..\..\..\..\components\softdevice\common\nrf_sdh_ant.c: 0 warnings, 1 error compiling SEGGER_RTT.c... ..\..\..\..\..\..\components\libraries\util\app_util_platform.h(56): error: #5: cannot open source input file "nrf_soc.h": No such file or directory #include "nrf_soc.h" ..\..\..\..\..\..\external\segger_rtt\SEGGER_RTT.c: 0 warnings, 1 error compiling SEGGER_RTT_printf.c... ..\..\..\..\..\..\components\libraries\util\app_util_platform.h(56): error: #5: cannot open source input file "nrf_soc.h": No such file or directory #include "nrf_soc.h" ..\..\..\..\..\..\external\segger_rtt\SEGGER_RTT_printf.c: 0 warnings, 1 error compiling SEGGER_RTT_Syscalls_KEIL.c... ..\..\..\..\..\..\components\libraries\util\app_util_platform.h(56): error: #5: cannot open source input file "nrf_soc.h": No such file or directory #include "nrf_soc.h" ..\..\..\..\..\..\external\segger_rtt\SEGGER_RTT_Syscalls_KEIL.c: 0 warnings, 1 error compiling system_nrf52.c... ".\_build\nrf52832_xxaa.axf" - 44 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:04
How can I fix it ?
Thanks