This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DFU Simple Error in compile

hi

i work in sdk v6.1 and work with dfu over air and it work fine on s110 but now i open this project

nrf51_sdk_v6_1_0_b2ec2e6\nrf51422\Board\nrf6310\s310\ble_ant_app_hrm

want add dfu over air to s310 . what i did so far is these.

adding c file

image description

add include to project

image description

but in compile i get this error

..\..\..\..\..\Source\bootloader_dfu\dfu_app_handler.c(71): warning:  #223-D: function "sd_softdevice_vector_table_base_set" declared implicitly
      err_code = sd_softdevice_vector_table_base_set(NRF_UICR->BOOTLOADERADDR);
..\..\..\..\..\Source\bootloader_dfu\dfu_app_handler.c: 1 warning, 0 errors
compiling system_nrf51.c...
linking...
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol CurentTime (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol M24cxx_write_relay_alarm (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol SEGGER_RTT_printf (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol dimer (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol ds1307_set_hour (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol ds1307_set_min (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol id (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol pass (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol relay (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol username (referred from our_service.o).
.\_build\ble_ant_app_hrm.axf: Error: L6218E: Undefined symbol sd_softdevice_vector_table_base_set (referred from dfu_app_handler.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 11 error messages.
".\_build\ble_ant_app_hrm.axf" - 11 Error(s), 8 Warning(s).
Target not created.
Build Time Elapsed:  00:00:04
Parents Reply Children
No Data
Related