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

SEGGER Emebedded studio build err : unknown register name 'vfpcc' in asm

    Hi ,

         I use SES to build a project ,SDK version  is 15.2.And get the err:unknown register name 'vfpcc' in asm.

        This seems to happen with every file.For example :

     

  and this is one of them:

   

  I've also read other posts about the unknown register name 'VFPCC' in asm, but there doesn't seem to be a specific solution.

 So,what can i do to solve it?

 Thanks!

Parents
  • Hi,

    Can you post the full log output so it includes all information shown below?

    3> Compiling ‘main.c’
    3> "C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.42/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 -munaligned-access -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.42/include" -I../../../config -I../../../../../../components -I../../../../../../components/ble/ble_advertising -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/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/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_section_vars -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/hardfault/nrf52 -I../../../../../../components/libraries/hci -I../../../../../../components/libraries/led_softblink -I../../../../../../components/libraries/log -I../../../../../../components/libraries/log/src -I../../../../../../components/libraries/low_power_pwm -I../../../../../../components/libraries/mem_manager -I../../../../../../components/libraries/memobj -I../../../../../../components/libraries/mpu -I../../../../../../components/libraries/mutex -I../../../../../../components/libraries/pwm -I../../../../../../components/libraries/pwr_mgmt -I../../../../../../components/libraries/queue -I../../../../../../components/libraries/ringbuf -I../../../../../../components/libraries/scheduler -I../../../../../../components/libraries/sdcard -I../../../../../../components/libraries/sensorsim -I../../../../../../components/libraries/slip -I../../../../../../components/libraries/sortlist -I../../../../../../components/libraries/spi_mngr -I../../../../../../components/libraries/stack_guard -I../../../../../../components/libraries/strerror -I../../../../../../components/libraries/svc -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/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/platform -I../../../../../../components/nfc/t2t_lib -I../../../../../../components/nfc/t2t_parser -I../../../../../../components/nfc/t4t_lib -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/s140/headers -I../../../../../../components/softdevice/s140/headers/nrf52 -I../../../../../../components/toolchain/cmsis/include -I../../../../../../external/fprintf -I../../../../../../external/freertos/config -I../../../../../../external/freertos/portable/CMSIS/nrf52 -I../../../../../../external/freertos/portable/GCC/nrf52 -I../../../../../../external/freertos/source/include -I../../../../../../external/segger_rtt -I../../../../../../external/utf_converter -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__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=44200 -D__GNU_LINKER -DDEBUG "-D DEBUG_NRF" -DBOARD_PCA10056 -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DFREERTOS -DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52840_XXAA -DNRF_SD_BLE_API_VERSION=7 -DS140 -DSOFTDEVICE_PRESENT -MD "C:/vidar/workspace/nRF5_SDK_16.0.0_98a08e2/examples/ble_peripheral/ble_app_hrs_freertos/pca10056/s140/ses/Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.d" -MQ "Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.o" -quiet -std=gnu99 -g3 -gpubnames -Og -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common C:\vidar\workspace\nRF5_SDK_16.0.0_98a08e2\examples\ble_peripheral\ble_app_hrs_freertos\main.c -o "C:/vidar/workspace/nRF5_SDK_16.0.0_98a08e2/examples/ble_peripheral/ble_app_hrs_freertos/pca10056/s140/ses/Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.asm"
    3> "C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.42/gcc/arm-none-eabi/bin/as" --traditional-format -I../../../config -I../../../../../../components -I../../../../../../components/ble/ble_advertising -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/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/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_section_vars -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/hardfault/nrf52 -I../../../../../../components/libraries/hci -I../../../../../../components/libraries/led_softblink -I../../../../../../components/libraries/log -I../../../../../../components/libraries/log/src -I../../../../../../components/libraries/low_power_pwm -I../../../../../../components/libraries/mem_manager -I../../../../../../components/libraries/memobj -I../../../../../../components/libraries/mpu -I../../../../../../components/libraries/mutex -I../../../../../../components/libraries/pwm -I../../../../../../components/libraries/pwr_mgmt -I../../../../../../components/libraries/queue -I../../../../../../components/libraries/ringbuf -I../../../../../../components/libraries/scheduler -I../../../../../../components/libraries/sdcard -I../../../../../../components/libraries/sensorsim -I../../../../../../components/libraries/slip -I../../../../../../components/libraries/sortlist -I../../../../../../components/libraries/spi_mngr -I../../../../../../components/libraries/stack_guard -I../../../../../../components/libraries/strerror -I../../../../../../components/libraries/svc -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/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/platform -I../../../../../../components/nfc/t2t_lib -I../../../../../../components/nfc/t2t_parser -I../../../../../../components/nfc/t4t_lib -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/s140/headers -I../../../../../../components/softdevice/s140/headers/nrf52 -I../../../../../../components/toolchain/cmsis/include -I../../../../../../external/fprintf -I../../../../../../external/freertos/config -I../../../../../../external/freertos/portable/CMSIS/nrf52 -I../../../../../../external/freertos/portable/GCC/nrf52 -I../../../../../../external/freertos/source/include -I../../../../../../external/segger_rtt -I../../../../../../external/utf_converter -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 -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/vidar/workspace/nRF5_SDK_16.0.0_98a08e2/examples/ble_peripheral/ble_app_hrs_freertos/pca10056/s140/ses/Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.asm" -o "Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.o"

    Also, have you tried to build other SDK examples to see if you get the same result?

Reply
  • Hi,

    Can you post the full log output so it includes all information shown below?

    3> Compiling ‘main.c’
    3> "C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.42/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 -munaligned-access -nostdinc "-isystemC:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.42/include" -I../../../config -I../../../../../../components -I../../../../../../components/ble/ble_advertising -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/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/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_section_vars -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/hardfault/nrf52 -I../../../../../../components/libraries/hci -I../../../../../../components/libraries/led_softblink -I../../../../../../components/libraries/log -I../../../../../../components/libraries/log/src -I../../../../../../components/libraries/low_power_pwm -I../../../../../../components/libraries/mem_manager -I../../../../../../components/libraries/memobj -I../../../../../../components/libraries/mpu -I../../../../../../components/libraries/mutex -I../../../../../../components/libraries/pwm -I../../../../../../components/libraries/pwr_mgmt -I../../../../../../components/libraries/queue -I../../../../../../components/libraries/ringbuf -I../../../../../../components/libraries/scheduler -I../../../../../../components/libraries/sdcard -I../../../../../../components/libraries/sensorsim -I../../../../../../components/libraries/slip -I../../../../../../components/libraries/sortlist -I../../../../../../components/libraries/spi_mngr -I../../../../../../components/libraries/stack_guard -I../../../../../../components/libraries/strerror -I../../../../../../components/libraries/svc -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/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/platform -I../../../../../../components/nfc/t2t_lib -I../../../../../../components/nfc/t2t_parser -I../../../../../../components/nfc/t4t_lib -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/s140/headers -I../../../../../../components/softdevice/s140/headers/nrf52 -I../../../../../../components/toolchain/cmsis/include -I../../../../../../external/fprintf -I../../../../../../external/freertos/config -I../../../../../../external/freertos/portable/CMSIS/nrf52 -I../../../../../../external/freertos/portable/GCC/nrf52 -I../../../../../../external/freertos/source/include -I../../../../../../external/segger_rtt -I../../../../../../external/utf_converter -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__ -D__HEAP_SIZE__=1024 -D__SES_VERSION=44200 -D__GNU_LINKER -DDEBUG "-D DEBUG_NRF" -DBOARD_PCA10056 -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DFREERTOS -DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52840_XXAA -DNRF_SD_BLE_API_VERSION=7 -DS140 -DSOFTDEVICE_PRESENT -MD "C:/vidar/workspace/nRF5_SDK_16.0.0_98a08e2/examples/ble_peripheral/ble_app_hrs_freertos/pca10056/s140/ses/Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.d" -MQ "Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.o" -quiet -std=gnu99 -g3 -gpubnames -Og -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common C:\vidar\workspace\nRF5_SDK_16.0.0_98a08e2\examples\ble_peripheral\ble_app_hrs_freertos\main.c -o "C:/vidar/workspace/nRF5_SDK_16.0.0_98a08e2/examples/ble_peripheral/ble_app_hrs_freertos/pca10056/s140/ses/Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.asm"
    3> "C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.42/gcc/arm-none-eabi/bin/as" --traditional-format -I../../../config -I../../../../../../components -I../../../../../../components/ble/ble_advertising -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/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/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_section_vars -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/hardfault/nrf52 -I../../../../../../components/libraries/hci -I../../../../../../components/libraries/led_softblink -I../../../../../../components/libraries/log -I../../../../../../components/libraries/log/src -I../../../../../../components/libraries/low_power_pwm -I../../../../../../components/libraries/mem_manager -I../../../../../../components/libraries/memobj -I../../../../../../components/libraries/mpu -I../../../../../../components/libraries/mutex -I../../../../../../components/libraries/pwm -I../../../../../../components/libraries/pwr_mgmt -I../../../../../../components/libraries/queue -I../../../../../../components/libraries/ringbuf -I../../../../../../components/libraries/scheduler -I../../../../../../components/libraries/sdcard -I../../../../../../components/libraries/sensorsim -I../../../../../../components/libraries/slip -I../../../../../../components/libraries/sortlist -I../../../../../../components/libraries/spi_mngr -I../../../../../../components/libraries/stack_guard -I../../../../../../components/libraries/strerror -I../../../../../../components/libraries/svc -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/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/platform -I../../../../../../components/nfc/t2t_lib -I../../../../../../components/nfc/t2t_parser -I../../../../../../components/nfc/t4t_lib -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/s140/headers -I../../../../../../components/softdevice/s140/headers/nrf52 -I../../../../../../components/toolchain/cmsis/include -I../../../../../../external/fprintf -I../../../../../../external/freertos/config -I../../../../../../external/freertos/portable/CMSIS/nrf52 -I../../../../../../external/freertos/portable/GCC/nrf52 -I../../../../../../external/freertos/source/include -I../../../../../../external/segger_rtt -I../../../../../../external/utf_converter -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 -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb "C:/vidar/workspace/nRF5_SDK_16.0.0_98a08e2/examples/ble_peripheral/ble_app_hrs_freertos/pca10056/s140/ses/Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.asm" -o "Output/ble_app_hrs_freertos_pca10056_s140 Debug/Obj/main.o"

    Also, have you tried to build other SDK examples to see if you get the same result?

Children
  • Hi,Thank you for your help.

        this is the build log.

    Rebuilding ��R8N�� from solution ��R8N�� in configuration ��Debug��
    1> Assembling ��thumb_crt0.s��
    2> Compiling ��nrf_log_backend_rtt.c��
    3> Compiling ��nrf_log_backend_serial.c��
    4> Compiling ��nrf_log_backend_uart.c��
    1> Compiling ��nrf_log_default_backends.c��
    3> Compiling ��nrf_log_frontend.c��
    2> Compiling ��app_button.c��
    4> Compiling ��nrf_log_str_formatter.c��
    2> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\libraries\button\app_button.c:43:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\libraries\button\app_button.c:43:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    1> Compiling ��app_error.c��
    4> Compiling ��app_error_handler_gcc.c��
    1> Compiling ��app_error_weak.c��
    2> Compiling ��app_timer_freertos.c��
    3> Compiling ��app_util_platform.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\libraries\timer\app_timer_freertos.c:42:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\libraries\timer\app_timer_freertos.c:42:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    4> Compiling ��crc16.c��
    1> Compiling ��fds.c��
    2> Compiling ��hardfault_handler_gcc.c��
    3> Compiling ��hardfault_implementation.c��
    4> Compiling ��nrf_assert.c��
    2> Compiling ��nrf_atfifo.c��
    1> Compiling ��nrf_atflags.c��
    3> Compiling ��nrf_atomic.c��
    4> Compiling ��nrf_balloc.c��
    2> Compiling ��nrf_fprintf.c��
    1> Compiling ��nrf_fprintf_format.c��
    3> Compiling ��nrf_fstorage.c��
    2> Compiling ��nrf_fstorage_sd.c��
    4> Compiling ��nrf_memobj.c��
    1> Compiling ��nrf_ringbuf.c��
    3> Compiling ��nrf_section_iter.c��
    2> Compiling ��nrf_strerror.c��
    1> Compiling ��sensorsim.c��
    4> Compiling ��app_fifo.c��
    3> Compiling ��app_uart_fifo.c��
    2> Compiling ��croutine.c��
    1> Compiling ��event_groups.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\croutine.c:29:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\croutine.c:29:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\event_groups.c:38:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\event_groups.c:38:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    3> Compiling ��heap_1.c��
    4> Compiling ��list.c��
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\portable\MemMang\heap_1.c:44:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\portable\MemMang\heap_1.c:44:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\list.c:31:
    4> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    4> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\list.c:31:
    4> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    4> <command-line>: note: this is the location of the previous definition
    2> Compiling ��port.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\portable\GCC\nrf52\port.c:34:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\portable\GCC\nrf52\port.c:34:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    1> Compiling ��port_cmsis.c��
    3> Compiling ��port_cmsis_systick.c��
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\portable\CMSIS\nrf52\port_cmsis.c:34:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\portable\CMSIS\nrf52\port_cmsis.c:34:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    4> Compiling ��queue.c��
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\portable\CMSIS\nrf52\port_cmsis_systick.c:30:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\portable\CMSIS\nrf52\port_cmsis_systick.c:30:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\queue.c:37:
    4> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    4> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\queue.c:37:
    4> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    4> <command-line>: note: this is the location of the previous definition
    1> Compiling ��stream_buffer.c��
    2> Compiling ��tasks.c��
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\stream_buffer.c:39:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\stream_buffer.c:39:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    3> Compiling ��timers.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\tasks.c:39:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\tasks.c:39:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    4> Compiling ��boards.c��
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\timers.c:37:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\timers.c:37:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    1> Compiling ��nrf_drv_clock.c��
    2> Compiling ��nrf_drv_uart.c��
    3> Compiling ��nrfx_clock.c��
    4> Compiling ��nrfx_gpiote.c��
    1> Compiling ��nrfx_power_clock.c��
    2> Compiling ��nrfx_prs.c��
    3> Compiling ��nrfx_uart.c��
    4> Compiling ��nrfx_uarte.c��
    1> Compiling ��nrfx_wdt.c��
    2> Compiling ��nrf_drv_spi.c��
    3> Compiling ��nrfx_spim.c��
    4> Compiling ��nrfx_systick.c��
    1> Compiling ��nrf_drv_power.c��
    2> Compiling ��nrfx_rtc.c��
    3> Compiling ��bsp.c��
    4> Compiling ��bsp_btn_ble.c��
    3> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\libraries\bsp\bsp.c:53:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\libraries\bsp\bsp.c:53:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    1> Compiling ��tag_common.c��
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.h:25,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.c:15:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.h:25,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.c:15:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    2> Compiling ��port_platform.c��
    1> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.c:73:5: warning: implicit declaration of function 'kx023_reg_config' [-Wimplicit-function-declaration]
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.h:25,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\port_platform.c:21:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.h:25,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\port_platform.c:21:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    4> Compiling ��task_tag.c��
    3> Compiling ��tag.c��
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\task_tag.h:17,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\task_tag.c:13:
    4> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    4> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\task_tag.h:17,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\task_tag.c:13:
    4> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    4> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag.h:18,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag.c:29:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag.h:18,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag.c:29:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    1> Compiling ��util.c��
    2> Compiling ��msg_time.c��
    3> Compiling ��main.c��
    4> Compiling ��common.c��
    3> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\main.c:70:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\main.c:70:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.c:14:
    4> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    4> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.c:14:
    4> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    4> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../src/tag_common.h:29,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\main.c:87:
    3> ../../../../../../external/freertos/source/CMSIS_RTOS/cmsis_os.h:470:10: warning: initialization of 'void (*)(const void *)' from incompatible pointer type 'void (*)(void *)' [-Wincompatible-pointer-types]
    3> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\main.c:1283:5: note: in expansion of macro 'osThreadDef'
    3> ../../../../../../external/freertos/source/CMSIS_RTOS/cmsis_os.h:470:10: note: (near initialization for 'os_thread_def_logger_task.pthread')
    3> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\main.c:1283:5: note: in expansion of macro 'osThreadDef'
    3> ../../../../../../external/freertos/source/CMSIS_RTOS/cmsis_os.h:470:10: warning: initialization of 'void (*)(const void *)' from incompatible pointer type 'void (*)(void *)' [-Wincompatible-pointer-types]
    3> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\main.c:1287:5: note: in expansion of macro 'osThreadDef'
    3> ../../../../../../external/freertos/source/CMSIS_RTOS/cmsis_os.h:470:10: note: (near initialization for 'os_thread_def_blink_task.pthread')
    3> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\main.c:1287:5: note: in expansion of macro 'osThreadDef'
    1> Compiling ��tdoa_bare.c��
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_bare.h:18,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_bare.c:13:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_bare.h:18,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_bare.c:13:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    2> Compiling ��tdoa_task.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_task.h:17,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_task.c:13:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_task.h:17,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tdoa_task.c:13:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    3> Compiling ��pdoa_bare.c��
    4> Compiling ��pdoa_task.c��
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_bare.h:18,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_bare.c:29:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_bare.h:18,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_bare.c:29:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    1> Compiling ��uart_function.c��
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_task.h:17,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_task.c:14:
    4> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    4> <command-line>: note: this is the location of the previous definition
    4> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_task.h:17,
    4>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\pdoa_task.c:14:
    4> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    4> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\uart_function.h:26,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\uart_function.c:14:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\uart_function.h:26,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\uart_function.c:14:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    2> Compiling ��bc20_bare.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_bare.h:18,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_bare.c:13:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_bare.h:18,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_bare.c:13:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    3> Compiling ��bc20_task.c��
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_task.h:17,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_task.c:13:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_task.h:17,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_task.c:13:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_task.c:171:5: warning: implicit declaration of function 'KX023_ReadReg' [-Wimplicit-function-declaration]
    3> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_task.c:180:13: warning: implicit declaration of function 'KX023_fifo_data_read' [-Wimplicit-function-declaration]
    3> E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_task.c:192:8: warning: implicit declaration of function 'KX023_fifo_data_clean' [-Wimplicit-function-declaration]
    1> Compiling ��BC20_GNSS.c��
    4> Compiling ��SEGGER_RTT.c��
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_bare.h:18,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\BC20_GNSS.c:25:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\common.h:21,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\bc20_bare.h:18,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\BC20_GNSS.c:25:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    2> Compiling ��SEGGER_RTT_Syscalls_SES.c��
    3> Compiling ��SEGGER_RTT_printf.c��
    1> Compiling ��auth_status_tracker.c��
    2> Compiling ��ble_advdata.c��
    4> Compiling ��ble_advertising.c��
    3> Compiling ��ble_conn_params.c��
    3> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\ble\common\ble_conn_params.c:51:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../components/libraries/timer/app_timer.h:118,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\ble\common\ble_conn_params.c:51:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    1> Compiling ��ble_conn_state.c��
    4> Compiling ��ble_srv_common.c��
    2> Compiling ��gatt_cache_manager.c��
    3> Compiling ��gatts_cache_manager.c��
    4> Compiling ��id_manager.c��
    1> Compiling ��nrf_ble_gatt.c��
    2> Compiling ��nrf_ble_qwr.c��
    3> Compiling ��peer_data_storage.c��
    1> Compiling ��peer_database.c��
    4> Compiling ��peer_id.c��
    3> Compiling ��peer_manager.c��
    2> Compiling ��peer_manager_handler.c��
    1> Compiling ��security_dispatcher.c��
    3> Compiling ��pm_buffer.c��
    4> Compiling ��security_manager.c��
    2> Compiling ��utf.c��
    1> Compiling ��ble_bas.c��
    2> Compiling ��ble_dis.c��
    3> Compiling ��ble_hrs.c��
    4> Compiling ��nrf_sdh.c��
    1> Compiling ��nrf_sdh_ble.c��
    2> Compiling ��nrf_sdh_freertos.c��
    3> Compiling ��nrf_sdh_soc.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\softdevice\common\nrf_sdh_freertos.c:45:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\components\softdevice\common\nrf_sdh_freertos.c:45:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    4> Compiling ��deca_device.c��
    1> Compiling ��deca_params_init.c��
    2> Compiling ��flash_function.c��
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.h:25,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\flash_function.c:34:
    2> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    2> <command-line>: note: this is the location of the previous definition
    2> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\tag_common.h:25,
    2>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\flash_function.c:34:
    2> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    2> <command-line>: note: this is the location of the previous definition
    4> Compiling ��accel_platform_init.c��
    3> Compiling ��kx023_driver.c��
    1> Compiling ��cmsis_os.c��
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from ../../../src/common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\accel\kx023_driver.c:34:
    3> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    3> <command-line>: note: this is the location of the previous definition
    3> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    3>                  from ../../../src/common.h:21,
    3>                  from E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\accel\kx023_driver.c:34:
    3> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    3> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\CMSIS_RTOS\cmsis_os.h:101,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\CMSIS_RTOS\cmsis_os.c:100:
    1> ../../../config/FreeRTOSConfig.h:56: warning: "configTICK_SOURCE" redefined
    1> <command-line>: note: this is the location of the previous definition
    1> In file included from ../../../../../../external/freertos/source/include/FreeRTOS.h:57,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\CMSIS_RTOS\cmsis_os.h:101,
    1>                  from E:\WK\R8N\r8n_20200224_tdoaV1\external\freertos\source\CMSIS_RTOS\cmsis_os.c:100:
    1> ../../../config/FreeRTOSConfig.h:143: warning: "configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY" redefined
    1> <command-line>: note: this is the location of the previous definition
    2> Assembling ��ses_startup_nrf52.s��
    4> Assembling ��ses_startup_nrf_common.s��
    1> Compiling ��system_nrf52.c��
    3> Compiling ��accel_buf.c��
    2> Compiling ��heart_rate_monitor.c��
    1> Compiling ��si114x_functions.c��
    3> Compiling ��i2c_bus.c��
    4> Compiling ��sihrm_demo.c��
    2> Compiling ��sihrm_interface_driver.c��
    4> Compiling ��sihrmUser.c��
    1> Generating linker script ��R8N.ld��
    1> Linking R8N.elf
    1> D:/SEGGER Embedded/gcc/arm-none-eabi/bin/ld: Output/R8N Debug/Obj/sihrm_interface_driver.o:E:\WK\R8N\r8n_20200224_tdoaV1\examples\ble_peripheral\ble_app_hrs_freertos\src\shiHR\src/sihrm_interface_driver.c:223: multiple definition of `rtc'; Output/R8N Debug/Obj/tag_common.o:(.rodata.rtc+0x0): first defined here
    Build failed
    

      I have add some my c file .If I remove my file ,I can build success.But I don't know what I did wrong. And When I add my file to a anthor example ,It can be ok.Just in this project ,it failed.

  • Thanks for the log. However, the log is only showing other errors that seem unrelated to the one you reported initially. In this case, the problem appears to be that you have multiple definitions of a variable named "rtc". 

    33 said:
    I have add some my c file .If I remove my file ,I can build success.

     Can you try to rename the rtc variable in this file?

  • Hi, When i solve the rtc worning,I can build success !  Thanks!

Related