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

ble_app_hrs_rscs_relay + DFU - compilation error

Hi,

I'm trying to merge central/peripheral example "ble_app_hrs_rscs_relay" with "ble_app_buttonless_dfu", and get error while compiling ‘ble_dfu_unbonded.c’:

Compiling ‘ble_dfu_unbonded.c’
    "C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/include" "-isystemC:/Users/User/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -I../../../config -I../../../../../../../components -I../../../../../../../components/ble/ble_advertising -I../../../../../../../components/ble/ble_db_discovery -I../../../../../../../components/ble/ble_dtm -I../../../../../../../components/ble/ble_racp -I../../../../../../../components/ble/ble_services/ble_ancs_c -I../../../../../../../components/ble/ble_services/ble_ans_c -I../../../../../../../components/ble/ble_services/ble_bas -I../../../../../../../components/ble/ble_services/ble_bas_c -I../../../../../../../components/ble/ble_services/ble_cscs -I../../../../../../../components/ble/ble_services/ble_cts_c -I../../../../../../../components/ble/ble_services/ble_dfu -I../../../../../../../components/ble/ble_services/ble_dis -I../../../../../../../components/ble/ble_services/ble_gls -I../../../../../../../components/ble/ble_services/ble_hids -I../../../../../../../components/ble/ble_services/ble_hrs -I../../../../../../../components/ble/ble_services/ble_hrs_c -I../../../../../../../components/ble/ble_services/ble_hts -I../../../../../../../components/ble/ble_services/ble_ias -I../../../../../../../components/ble/ble_services/ble_ias_c -I../../../../../../../components/ble/ble_services/ble_lbs -I../../../../../../../components/ble/ble_services/ble_lbs_c -I../../../../../../../components/ble/ble_services/ble_lls -I../../../../../../../components/ble/ble_services/ble_nus -I../../../../../../../components/ble/ble_services/ble_nus_c -I../../../../../../../components/ble/ble_services/ble_rscs -I../../../../../../../components/ble/ble_services/ble_rscs_c -I../../../../../../../components/ble/ble_services/ble_tps -I../../../../../../../components/ble/common -I../../../../../../../components/ble/nrf_ble_gatt -I../../../../../../../components/ble/nrf_ble_qwr -I../../../../../../../components/ble/peer_manager -I../../../../../../../components/boards -I../../../../../../../components/drivers_nrf/usbd -I../../../../../../../components/libraries/atomic -I../../../../../../../components/libraries/atomic_fifo -I../../../../../../../components/libraries/atomic_flags -I../../../../../../../components/libraries/balloc -I../../../../../../../components/libraries/bootloader/ble_dfu -I../../../../../../../components/libraries/bootloader -I../../../../../../../components/libraries/bootloader/dfu -I../../../../../../../components/libraries/bsp -I../../../../../../../components/libraries/button -I../../../../../../../components/libraries/cli -I../../../../../../../components/libraries/crc16 -I../../../../../../../components/libraries/crc32 -I../../../../../../../components/libraries/crypto -I../../../../../../../components/libraries/csense -I../../../../../../../components/libraries/csense_drv -I../../../../../../../components/libraries/delay -I../../../../../../../components/libraries/ecc -I../../../../../../../components/libraries/experimental_log -I../../../../../../../components/libraries/experimental_log/src -I../../../../../../../components/libraries/experimental_memobj -I../../../../../../../components/libraries/experimental_mpu -I../../../../../../../components/libraries/experimental_ringbuf -I../../../../../../../components/libraries/experimental_section_vars -I../../../../../../../components/libraries/experimental_stack_guard -I../../../../../../../components/libraries/experimental_task_manager -I../../../../../../../components/libraries/fds -I../../../../../../../components/libraries/fstorage -I../../../../../../../components/libraries/gfx -I../../../../../../../components/libraries/gpiote -I../../../../../../../components/libraries/hardfault -I../../../../../../../components/libraries/hci -I../../../../../../../components/libraries/led_softblink -I../../../../../../../components/libraries/low_power_pwm -I../../../../../../../components/libraries/mem_manager -I../../../../../../../components/libraries/mutex -I../../../../../../../components/libraries/pwm -I../../../../../../../components/libraries/pwr_mgmt -I../../../../../../../components/libraries/queue -I../../../../../../../components/libraries/scheduler -I../../../../../../../components/libraries/sdcard -I../../../../../../../components/libraries/slip -I../../../../../../../components/libraries/svc -I../../../../../../../components/libraries/sortlist -I../../../../../../../components/libraries/spi_mngr -I../../../../../../../components/libraries/strerror -I../../../../../../../components/libraries/timer -I../../../../../../../components/libraries/twi_mngr -I../../../../../../../components/libraries/twi_sensor -I../../../../../../../components/libraries/usbd -I../../../../../../../components/libraries/usbd/class/audio -I../../../../../../../components/libraries/usbd/class/cdc -I../../../../../../../components/libraries/usbd/class/cdc/acm -I../../../../../../../components/libraries/usbd/class/hid -I../../../../../../../components/libraries/usbd/class/hid/generic -I../../../../../../../components/libraries/usbd/class/hid/kbd -I../../../../../../../components/libraries/usbd/class/hid/mouse -I../../../../../../../components/libraries/usbd/class/msc -I../../../../../../../components/libraries/usbd/config -I../../../../../../../components/libraries/util -I../../../../../../../components/nfc/ndef/conn_hand_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/ac_rec_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/le_oob_rec_parser -I../../../../../../../components/nfc/ndef/connection_handover/ac_rec -I../../../../../../../components/nfc/ndef/connection_handover/ble_oob_advdata -I../../../../../../../components/nfc/ndef/connection_handover/ble_pair_lib -I../../../../../../../components/nfc/ndef/connection_handover/ble_pair_msg -I../../../../../../../components/nfc/ndef/connection_handover/common -I../../../../../../../components/nfc/ndef/connection_handover/ep_oob_rec -I../../../../../../../components/nfc/ndef/connection_handover/hs_rec -I../../../../../../../components/nfc/ndef/connection_handover/le_oob_rec -I../../../../../../../components/nfc/ndef/generic/message -I../../../../../../../components/nfc/ndef/generic/record -I../../../../../../../components/nfc/ndef/launchapp -I../../../../../../../components/nfc/ndef/parser/message -I../../../../../../../components/nfc/ndef/parser/record -I../../../../../../../components/nfc/ndef/text -I../../../../../../../components/nfc/ndef/uri -I../../../../../../../components/nfc/t2t_lib -I../../../../../../../components/nfc/t2t_lib/hal_t2t -I../../../../../../../components/nfc/t2t_parser -I../../../../../../../components/nfc/t4t_lib -I../../../../../../../components/nfc/t4t_lib/hal_t4t -I../../../../../../../components/nfc/t4t_parser/apdu -I../../../../../../../components/nfc/t4t_parser/cc_file -I../../../../../../../components/nfc/t4t_parser/hl_detection_procedure -I../../../../../../../components/nfc/t4t_parser/tlv -I../../../../../../../components/softdevice/common -I../../../../../../../components/softdevice/s132/headers -I../../../../../../../components/softdevice/s132/headers/nrf52 -I../../../../../../../components/toolchain/cmsis/include -I../../../../../../../external/fprintf -I../../../../../../../external/segger_rtt -I../../../../../../../integration/nrfx -I../../../../../../../integration/nrfx/legacy -I../../../../../../../modules/nrfx -I../../../../../../../modules/nrfx/drivers/include -I../../../../../../../modules/nrfx/hal -I../../../../../../../modules/nrfx/mdk -I../config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -DDEBUG "-D DEBUG_NRF" -DBOARD_PCA10040 -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52 -DNRF52832_XXAA -DNRF52_PAN_74 -DNRF_SD_BLE_API_VERSION=6 -DS132 -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -MD "E:/nRF5_SDK_15_0_0/examples/FKIrons2/cp_dfu_1804_03/x/pca10040/s132/ses/Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/ble_dfu_unbonded.d" -MQ "Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/ble_dfu_unbonded.o" -quiet -g3 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common E:\nRF5_SDK_15_0_0\components\ble\ble_services\ble_dfu\ble_dfu_unbonded.c -o "E:/nRF5_SDK_15_0_0/examples/FKIrons2/cp_dfu_1804_03/x/pca10040/s132/ses/Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/ble_dfu_unbonded.asm"
    nrf_dfu_ble_svci_bond_sharing.h
    ble_dfu_unbonded.c
    unknown type name 'nrf_dfu_set_adv_name_svci_async_t'
    in definition of macro 'SVCI_DECL'
    in expansion of macro 'SVCI_1'
    in expansion of macro 'SVCI_IMPLI'
    in expansion of macro 'SVCI_IMPL'
    in expansion of macro 'SVCI'
    in expansion of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    unknown type name 'nrf_dfu_set_adv_name_svci_async_t'
    in definition of macro 'SVCI_1'
    in expansion of macro 'SVCI_IMPLI'
    in expansion of macro 'SVCI_IMPL'
    in expansion of macro 'SVCI'
    in expansion of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    nrf_dfu_ble_svci_bond_sharing.h
    ble_dfu_unbonded.c
    unknown type name 'nrf_dfu_set_adv_name_svci_async_t'
    in definition of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    implicit declaration of function 'nrf_dfu_set_adv_name_svci_async_init' [-Wimplicit-function-declaration]
    in definition of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    unknown type name 'nrf_dfu_adv_name_t'
    in definition of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    request for member 'sys_evt_handler' in something not a structure or union
    in expansion of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    request for member 'state' in something not a structure or union
    in expansion of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    request for member 'async_func' in something not a structure or union
    in expansion of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    request for member 'sys_evt_handler' in something not a structure or union
    in expansion of macro 'NRF_SVCI_ASYNC_FUNC_DEFINE'
    unknown type name 'nrf_dfu_adv_name_t'
    unknown type name 'nrf_dfu_adv_name_t'
    request for member 'name' in something not a structure or union
    request for member 'len' in something not a structure or union
    implicit declaration of function 'set_adv_name' [-Wimplicit-function-declaration]
  Compiling ‘ble_dfu_bonded.c’
    "C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/include" "-isystemC:/Users/User/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -I../../../config -I../../../../../../../components -I../../../../../../../components/ble/ble_advertising -I../../../../../../../components/ble/ble_db_discovery -I../../../../../../../components/ble/ble_dtm -I../../../../../../../components/ble/ble_racp -I../../../../../../../components/ble/ble_services/ble_ancs_c -I../../../../../../../components/ble/ble_services/ble_ans_c -I../../../../../../../components/ble/ble_services/ble_bas -I../../../../../../../components/ble/ble_services/ble_bas_c -I../../../../../../../components/ble/ble_services/ble_cscs -I../../../../../../../components/ble/ble_services/ble_cts_c -I../../../../../../../components/ble/ble_services/ble_dfu -I../../../../../../../components/ble/ble_services/ble_dis -I../../../../../../../components/ble/ble_services/ble_gls -I../../../../../../../components/ble/ble_services/ble_hids -I../../../../../../../components/ble/ble_services/ble_hrs -I../../../../../../../components/ble/ble_services/ble_hrs_c -I../../../../../../../components/ble/ble_services/ble_hts -I../../../../../../../components/ble/ble_services/ble_ias -I../../../../../../../components/ble/ble_services/ble_ias_c -I../../../../../../../components/ble/ble_services/ble_lbs -I../../../../../../../components/ble/ble_services/ble_lbs_c -I../../../../../../../components/ble/ble_services/ble_lls -I../../../../../../../components/ble/ble_services/ble_nus -I../../../../../../../components/ble/ble_services/ble_nus_c -I../../../../../../../components/ble/ble_services/ble_rscs -I../../../../../../../components/ble/ble_services/ble_rscs_c -I../../../../../../../components/ble/ble_services/ble_tps -I../../../../../../../components/ble/common -I../../../../../../../components/ble/nrf_ble_gatt -I../../../../../../../components/ble/nrf_ble_qwr -I../../../../../../../components/ble/peer_manager -I../../../../../../../components/boards -I../../../../../../../components/drivers_nrf/usbd -I../../../../../../../components/libraries/atomic -I../../../../../../../components/libraries/atomic_fifo -I../../../../../../../components/libraries/atomic_flags -I../../../../../../../components/libraries/balloc -I../../../../../../../components/libraries/bootloader/ble_dfu -I../../../../../../../components/libraries/bootloader -I../../../../../../../components/libraries/bootloader/dfu -I../../../../../../../components/libraries/bsp -I../../../../../../../components/libraries/button -I../../../../../../../components/libraries/cli -I../../../../../../../components/libraries/crc16 -I../../../../../../../components/libraries/crc32 -I../../../../../../../components/libraries/crypto -I../../../../../../../components/libraries/csense -I../../../../../../../components/libraries/csense_drv -I../../../../../../../components/libraries/delay -I../../../../../../../components/libraries/ecc -I../../../../../../../components/libraries/experimental_log -I../../../../../../../components/libraries/experimental_log/src -I../../../../../../../components/libraries/experimental_memobj -I../../../../../../../components/libraries/experimental_mpu -I../../../../../../../components/libraries/experimental_ringbuf -I../../../../../../../components/libraries/experimental_section_vars -I../../../../../../../components/libraries/experimental_stack_guard -I../../../../../../../components/libraries/experimental_task_manager -I../../../../../../../components/libraries/fds -I../../../../../../../components/libraries/fstorage -I../../../../../../../components/libraries/gfx -I../../../../../../../components/libraries/gpiote -I../../../../../../../components/libraries/hardfault -I../../../../../../../components/libraries/hci -I../../../../../../../components/libraries/led_softblink -I../../../../../../../components/libraries/low_power_pwm -I../../../../../../../components/libraries/mem_manager -I../../../../../../../components/libraries/mutex -I../../../../../../../components/libraries/pwm -I../../../../../../../components/libraries/pwr_mgmt -I../../../../../../../components/libraries/queue -I../../../../../../../components/libraries/scheduler -I../../../../../../../components/libraries/sdcard -I../../../../../../../components/libraries/slip -I../../../../../../../components/libraries/svc -I../../../../../../../components/libraries/sortlist -I../../../../../../../components/libraries/spi_mngr -I../../../../../../../components/libraries/strerror -I../../../../../../../components/libraries/timer -I../../../../../../../components/libraries/twi_mngr -I../../../../../../../components/libraries/twi_sensor -I../../../../../../../components/libraries/usbd -I../../../../../../../components/libraries/usbd/class/audio -I../../../../../../../components/libraries/usbd/class/cdc -I../../../../../../../components/libraries/usbd/class/cdc/acm -I../../../../../../../components/libraries/usbd/class/hid -I../../../../../../../components/libraries/usbd/class/hid/generic -I../../../../../../../components/libraries/usbd/class/hid/kbd -I../../../../../../../components/libraries/usbd/class/hid/mouse -I../../../../../../../components/libraries/usbd/class/msc -I../../../../../../../components/libraries/usbd/config -I../../../../../../../components/libraries/util -I../../../../../../../components/nfc/ndef/conn_hand_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/ac_rec_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/le_oob_rec_parser -I../../../../../../../components/nfc/ndef/connection_handover/ac_rec -I../../../../../../../components/nfc/ndef/connection_handover/ble_oob_advdata -I../../../../../../../components/nfc/ndef/connection_handover/ble_pair_lib -I../../../../../../../components/nfc/ndef/connection_handover/ble_pair_msg -I../../../../../../../components/nfc/ndef/connection_handover/common -I../../../../../../../components/nfc/ndef/connection_handover/ep_oob_rec -I../../../../../../../components/nfc/ndef/connection_handover/hs_rec -I../../../../../../../components/nfc/ndef/connection_handover/le_oob_rec -I../../../../../../../components/nfc/ndef/generic/message -I../../../../../../../components/nfc/ndef/generic/record -I../../../../../../../components/nfc/ndef/launchapp -I../../../../../../../components/nfc/ndef/parser/message -I../../../../../../../components/nfc/ndef/parser/record -I../../../../../../../components/nfc/ndef/text -I../../../../../../../components/nfc/ndef/uri -I../../../../../../../components/nfc/t2t_lib -I../../../../../../../components/nfc/t2t_lib/hal_t2t -I../../../../../../../components/nfc/t2t_parser -I../../../../../../../components/nfc/t4t_lib -I../../../../../../../components/nfc/t4t_lib/hal_t4t -I../../../../../../../components/nfc/t4t_parser/apdu -I../../../../../../../components/nfc/t4t_parser/cc_file -I../../../../../../../components/nfc/t4t_parser/hl_detection_procedure -I../../../../../../../components/nfc/t4t_parser/tlv -I../../../../../../../components/softdevice/common -I../../../../../../../components/softdevice/s132/headers -I../../../../../../../components/softdevice/s132/headers/nrf52 -I../../../../../../../components/toolchain/cmsis/include -I../../../../../../../external/fprintf -I../../../../../../../external/segger_rtt -I../../../../../../../integration/nrfx -I../../../../../../../integration/nrfx/legacy -I../../../../../../../modules/nrfx -I../../../../../../../modules/nrfx/drivers/include -I../../../../../../../modules/nrfx/hal -I../../../../../../../modules/nrfx/mdk -I../config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -DDEBUG "-D DEBUG_NRF" -DBOARD_PCA10040 -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52 -DNRF52832_XXAA -DNRF52_PAN_74 -DNRF_SD_BLE_API_VERSION=6 -DS132 -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -MD "E:/nRF5_SDK_15_0_0/examples/FKIrons2/cp_dfu_1804_03/x/pca10040/s132/ses/Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/ble_dfu_bonded.d" -MQ "Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/ble_dfu_bonded.o" -quiet -g3 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common E:\nRF5_SDK_15_0_0\components\ble\ble_services\ble_dfu\ble_dfu_bonded.c -o "E:/nRF5_SDK_15_0_0/examples/FKIrons2/cp_dfu_1804_03/x/pca10040/s132/ses/Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/ble_dfu_bonded.asm"
  Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/nrf_dfu_svci.o does not exist.
  Remove E:\nRF5_SDK_15_0_0\examples\FKIrons2\cp_dfu_1804_03\x\pca10040\s132\ses\Output\ble_app_hrs_rscs_relay_pca10040_s132 Debug\Obj\nrf_dfu_svci.d
  Compiling ‘nrf_dfu_svci.c’
    "C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/gcc/arm-none-eabi/bin/cc1" -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 3.34/include" "-isystemC:/Users/User/AppData/Local/SEGGER/SEGGER Embedded Studio/v3/packages/include" -I../../../config -I../../../../../../../components -I../../../../../../../components/ble/ble_advertising -I../../../../../../../components/ble/ble_db_discovery -I../../../../../../../components/ble/ble_dtm -I../../../../../../../components/ble/ble_racp -I../../../../../../../components/ble/ble_services/ble_ancs_c -I../../../../../../../components/ble/ble_services/ble_ans_c -I../../../../../../../components/ble/ble_services/ble_bas -I../../../../../../../components/ble/ble_services/ble_bas_c -I../../../../../../../components/ble/ble_services/ble_cscs -I../../../../../../../components/ble/ble_services/ble_cts_c -I../../../../../../../components/ble/ble_services/ble_dfu -I../../../../../../../components/ble/ble_services/ble_dis -I../../../../../../../components/ble/ble_services/ble_gls -I../../../../../../../components/ble/ble_services/ble_hids -I../../../../../../../components/ble/ble_services/ble_hrs -I../../../../../../../components/ble/ble_services/ble_hrs_c -I../../../../../../../components/ble/ble_services/ble_hts -I../../../../../../../components/ble/ble_services/ble_ias -I../../../../../../../components/ble/ble_services/ble_ias_c -I../../../../../../../components/ble/ble_services/ble_lbs -I../../../../../../../components/ble/ble_services/ble_lbs_c -I../../../../../../../components/ble/ble_services/ble_lls -I../../../../../../../components/ble/ble_services/ble_nus -I../../../../../../../components/ble/ble_services/ble_nus_c -I../../../../../../../components/ble/ble_services/ble_rscs -I../../../../../../../components/ble/ble_services/ble_rscs_c -I../../../../../../../components/ble/ble_services/ble_tps -I../../../../../../../components/ble/common -I../../../../../../../components/ble/nrf_ble_gatt -I../../../../../../../components/ble/nrf_ble_qwr -I../../../../../../../components/ble/peer_manager -I../../../../../../../components/boards -I../../../../../../../components/drivers_nrf/usbd -I../../../../../../../components/libraries/atomic -I../../../../../../../components/libraries/atomic_fifo -I../../../../../../../components/libraries/atomic_flags -I../../../../../../../components/libraries/balloc -I../../../../../../../components/libraries/bootloader/ble_dfu -I../../../../../../../components/libraries/bootloader -I../../../../../../../components/libraries/bootloader/dfu -I../../../../../../../components/libraries/bsp -I../../../../../../../components/libraries/button -I../../../../../../../components/libraries/cli -I../../../../../../../components/libraries/crc16 -I../../../../../../../components/libraries/crc32 -I../../../../../../../components/libraries/crypto -I../../../../../../../components/libraries/csense -I../../../../../../../components/libraries/csense_drv -I../../../../../../../components/libraries/delay -I../../../../../../../components/libraries/ecc -I../../../../../../../components/libraries/experimental_log -I../../../../../../../components/libraries/experimental_log/src -I../../../../../../../components/libraries/experimental_memobj -I../../../../../../../components/libraries/experimental_mpu -I../../../../../../../components/libraries/experimental_ringbuf -I../../../../../../../components/libraries/experimental_section_vars -I../../../../../../../components/libraries/experimental_stack_guard -I../../../../../../../components/libraries/experimental_task_manager -I../../../../../../../components/libraries/fds -I../../../../../../../components/libraries/fstorage -I../../../../../../../components/libraries/gfx -I../../../../../../../components/libraries/gpiote -I../../../../../../../components/libraries/hardfault -I../../../../../../../components/libraries/hci -I../../../../../../../components/libraries/led_softblink -I../../../../../../../components/libraries/low_power_pwm -I../../../../../../../components/libraries/mem_manager -I../../../../../../../components/libraries/mutex -I../../../../../../../components/libraries/pwm -I../../../../../../../components/libraries/pwr_mgmt -I../../../../../../../components/libraries/queue -I../../../../../../../components/libraries/scheduler -I../../../../../../../components/libraries/sdcard -I../../../../../../../components/libraries/slip -I../../../../../../../components/libraries/svc -I../../../../../../../components/libraries/sortlist -I../../../../../../../components/libraries/spi_mngr -I../../../../../../../components/libraries/strerror -I../../../../../../../components/libraries/timer -I../../../../../../../components/libraries/twi_mngr -I../../../../../../../components/libraries/twi_sensor -I../../../../../../../components/libraries/usbd -I../../../../../../../components/libraries/usbd/class/audio -I../../../../../../../components/libraries/usbd/class/cdc -I../../../../../../../components/libraries/usbd/class/cdc/acm -I../../../../../../../components/libraries/usbd/class/hid -I../../../../../../../components/libraries/usbd/class/hid/generic -I../../../../../../../components/libraries/usbd/class/hid/kbd -I../../../../../../../components/libraries/usbd/class/hid/mouse -I../../../../../../../components/libraries/usbd/class/msc -I../../../../../../../components/libraries/usbd/config -I../../../../../../../components/libraries/util -I../../../../../../../components/nfc/ndef/conn_hand_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/ac_rec_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser -I../../../../../../../components/nfc/ndef/conn_hand_parser/le_oob_rec_parser -I../../../../../../../components/nfc/ndef/connection_handover/ac_rec -I../../../../../../../components/nfc/ndef/connection_handover/ble_oob_advdata -I../../../../../../../components/nfc/ndef/connection_handover/ble_pair_lib -I../../../../../../../components/nfc/ndef/connection_handover/ble_pair_msg -I../../../../../../../components/nfc/ndef/connection_handover/common -I../../../../../../../components/nfc/ndef/connection_handover/ep_oob_rec -I../../../../../../../components/nfc/ndef/connection_handover/hs_rec -I../../../../../../../components/nfc/ndef/connection_handover/le_oob_rec -I../../../../../../../components/nfc/ndef/generic/message -I../../../../../../../components/nfc/ndef/generic/record -I../../../../../../../components/nfc/ndef/launchapp -I../../../../../../../components/nfc/ndef/parser/message -I../../../../../../../components/nfc/ndef/parser/record -I../../../../../../../components/nfc/ndef/text -I../../../../../../../components/nfc/ndef/uri -I../../../../../../../components/nfc/t2t_lib -I../../../../../../../components/nfc/t2t_lib/hal_t2t -I../../../../../../../components/nfc/t2t_parser -I../../../../../../../components/nfc/t4t_lib -I../../../../../../../components/nfc/t4t_lib/hal_t4t -I../../../../../../../components/nfc/t4t_parser/apdu -I../../../../../../../components/nfc/t4t_parser/cc_file -I../../../../../../../components/nfc/t4t_parser/hl_detection_procedure -I../../../../../../../components/nfc/t4t_parser/tlv -I../../../../../../../components/softdevice/common -I../../../../../../../components/softdevice/s132/headers -I../../../../../../../components/softdevice/s132/headers/nrf52 -I../../../../../../../components/toolchain/cmsis/include -I../../../../../../../external/fprintf -I../../../../../../../external/segger_rtt -I../../../../../../../integration/nrfx -I../../../../../../../integration/nrfx/legacy -I../../../../../../../modules/nrfx -I../../../../../../../modules/nrfx/drivers/include -I../../../../../../../modules/nrfx/hal -I../../../../../../../modules/nrfx/mdk -I../config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -DDEBUG "-D DEBUG_NRF" -DBOARD_PCA10040 -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52 -DNRF52832_XXAA -DNRF52_PAN_74 -DNRF_SD_BLE_API_VERSION=6 -DS132 -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -MD "E:/nRF5_SDK_15_0_0/examples/FKIrons2/cp_dfu_1804_03/x/pca10040/s132/ses/Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/nrf_dfu_svci.d" -MQ "Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/nrf_dfu_svci.o" -quiet -g3 -gpubnames -std=gnu99 -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common E:\nRF5_SDK_15_0_0\components\libraries\bootloader\dfu\nrf_dfu_svci.c -o "E:/nRF5_SDK_15_0_0/examples/FKIrons2/cp_dfu_1804_03/x/pca10040/s132/ses/Output/ble_app_hrs_rscs_relay_pca10040_s132 Debug/Obj/nrf_dfu_svci.asm"
Build failed

I've included all header files and added all *c files to the project but something is still missing.

Does anyone have working sample code for central.peripheral with DFU functionality ?

Thanks

Related