Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK 11.0 DFU sample dfu_dual_bank_serial_s332_pca10040 build error

I try to use the SDK 11.0 for my nrf52832 dfu function . But i encountered the error as below:

I am using the ANT_s332_nrf52_5.0.0 . 

Any advice  . thanks 

Building configuration: dfu_single_bank_serial_s332_pca10040 - nrf52832_xxaa
Updating build tree...
iar_startup_nrf52.s
app_error_weak.c
app_error.c
app_scheduler.c
app_timer_appsh.c
app_uart.c
app_util_platform.c
app_timer.c
bootloader_util.c
crc16.c
bootloader_settings.c
bootloader.c
dfu_init_template.c
hci_mem_pool.c
dfu_transport_serial.c
dfu_single_bank.c
hci_slip.c
main.c
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.h 187
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.h 202
Error[Pe020]: identifier "NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM" is undefined C:\Nordic-SDK-11\examples\dfu\bootloader\main.c 145
Error[Pe136]: struct "<unnamed>#119" has no field "xtal_accuracy" C:\Nordic-SDK-11\examples\dfu\bootloader\main.c 145
Error[Pe020]: identifier "GATT_MTU_SIZE_DEFAULT" is undefined C:\Nordic-SDK-11\examples\dfu\bootloader\main.c 156
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\examples\dfu\bootloader\main.c 159
Error while running C/C++ Compiler
hci_transport.c
nrf_assert.c
nrf_delay.c
nrf_drv_common.c
softdevice_handler.c
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.h 187
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.h 202
Error[Pe020]: identifier "ANT_LICENSE_KEY" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.c 283
Error[Pe140]: too many arguments in function call C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.c 283
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.c 369
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.c 371
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.c 444
Error[Pe140]: too many arguments in function call C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.c 464
Error while running C/C++ Compiler
pstorage_raw.c
softdevice_handler_appsh.c
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.h 187
Error[Pe020]: identifier "ble_enable_params_t" is undefined C:\Nordic-SDK-11\components\softdevice\common\softdevice_handler\softdevice_handler.h 202
Error while running C/C++ Compiler
system_nrf52.c
nrf_drv_uart.c

Total number of errors: 16
Total number of warnings: 47

Related