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

Build failed, because of 'vfpcc' Errors ?

Hi everyone !

I'm working with an example code for the nRF52840.

I added some c files and changed from UART to SPI.

Until this point everything was able to compile and worked fine !

Than i got some .cpp files for a communication stack. So i decided to change the main.c to main.cpp, added the STLport Library Package.

As expected I received some errors like the '_Static_assert_...' error and some others. I solved most of the Errors.

But now the output is written: Building ‘BLE_SPI_peripheral_GigerSuter’ from solution ‘BLE_SPI_peripheral’ in configuration ‘Debug’ -> completed (58 Notes)

and under this: Build failed -> completed

I'm not sure what I have to ask for, because I'm not sure what happens exactly.

When I change the Show to Source Navigator, there are about 60 Files with the same one error for 'vfpcc'.

Error for one file :

-target arm-none-eabi -nostdinc -isystemD:/arm_segger_embedded_studio_v414_win_x64_nordic/include -isystemC:/Users/*/Nordic/SEGGER Embedded Studio/v3/packages/include -Iconfig -Icomponents -Icomponents/ble/ble_advertising -Icomponents/ble/ble_dtm -Icomponents/ble/ble_link_ctx_manager -Icomponents/ble/ble_racp -Icomponents/ble/ble_services/ble_ancs_c -Icomponents/ble/ble_services/ble_ans_c -Icomponents/ble/ble_services/ble_bas -Icomponents/ble/ble_services/ble_bas_c -Icomponents/ble/ble_services/ble_cscs -Icomponents/ble/ble_services/ble_cts_c -Icomponents/ble/ble_services/ble_dfu -Icomponents/ble/ble_services/ble_dis -Icomponents/ble/ble_services/ble_gls -Icomponents/ble/ble_services/ble_hids -Icomponents/ble/ble_services/ble_hrs -Icomponents/ble/ble_services/ble_hrs_c -Icomponents/ble/ble_services/ble_hts -Icomponents/ble/ble_services/ble_ias -Icomponents/ble/ble_services/ble_ias_c -Icomponents/ble/ble_services/ble_lbs -Icomponents/ble/ble_services/ble_lbs_c -Icomponents/ble/ble_services/ble_lls -Icomponents/ble/ble_services/ble_nus -Icomponents/ble/ble_services/ble_nus_c -Icomponents/ble/ble_services/ble_rscs -Icomponents/ble/ble_services/ble_rscs_c -Icomponents/ble/ble_services/ble_tps -Icomponents/ble/common -Icomponents/ble/nrf_ble_gatt -Icomponents/ble/nrf_ble_qwr -Icomponents/ble/peer_manager -Icomponents/boards -Icomponents/drivers_nrf/usbd -Icomponents/libraries/atomic -Icomponents/libraries/atomic_fifo -Icomponents/libraries/atomic_flags -Icomponents/libraries/balloc -Icomponents/libraries/bootloader/ble_dfu -Icomponents/libraries/bsp -Icomponents/libraries/button -Icomponents/libraries/cli -Icomponents/libraries/crc16 -Icomponents/libraries/crc32 -Icomponents/libraries/crypto -Icomponents/libraries/csense -Icomponents/libraries/csense_drv -Icomponents/libraries/delay -Icomponents/libraries/ecc -Icomponents/libraries/experimental_section_vars -Icomponents/libraries/experimental_task_manager -Icomponents/libraries/fds -Icomponents/libraries/fifo -Icomponents/libraries/fstorage -Icomponents/libraries/gfx -Icomponents/libraries/gpiote -Icomponents/libraries/hardfault -Icomponents/libraries/hci -Icomponents/libraries/led_softblink -Icomponents/libraries/log -Icomponents/libraries/log/src -Icomponents/libraries/low_power_pwm -Icomponents/libraries/mem_manager -Icomponents/libraries/memobj -Icomponents/libraries/mpu -Icomponents/libraries/mutex -Icomponents/libraries/pwm -Icomponents/libraries/pwr_mgmt -Icomponents/libraries/queue -Icomponents/libraries/ringbuf -Icomponents/libraries/scheduler -Icomponents/libraries/sdcard -Icomponents/libraries/slip -Icomponents/libraries/sortlist -Icomponents/libraries/spi_mngr -Icomponents/libraries/stack_guard -Icomponents/libraries/strerror -Icomponents/libraries/svc -Icomponents/libraries/timer -Icomponents/libraries/twi_mngr -Icomponents/libraries/twi_sensor -Icomponents/libraries/uart -Icomponents/libraries/usbd -Icomponents/libraries/usbd/class/audio -Icomponents/libraries/usbd/class/cdc -Icomponents/libraries/usbd/class/cdc/acm -Icomponents/libraries/usbd/class/hid -Icomponents/libraries/usbd/class/hid/generic -Icomponents/libraries/usbd/class/hid/kbd -Icomponents/libraries/usbd/class/hid/mouse -Icomponents/libraries/usbd/class/msc -Icomponents/libraries/util -Icomponents/nfc/ndef/conn_hand_parser -Icomponents/nfc/ndef/conn_hand_parser/ac_rec_parser -Icomponents/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser -Icomponents/nfc/ndef/conn_hand_parser/le_oob_rec_parser -Icomponents/nfc/ndef/connection_handover/ac_rec -Icomponents/nfc/ndef/connection_handover/ble_oob_advdata -Icomponents/nfc/ndef/connection_handover/ble_pair_lib -Icomponents/nfc/ndef/connection_handover/ble_pair_msg -Icomponents/nfc/ndef/connection_handover/common -Icomponents/nfc/ndef/connection_handover/ep_oob_rec -Icomponents/nfc/ndef/connection_handover/hs_rec -Icomponents/nfc/ndef/connection_handover/le_oob_rec -Icomponents/nfc/ndef/generic/message -Icomponents/nfc/ndef/generic/record -Icomponents/nfc/ndef/launchapp -Icomponents/nfc/ndef/parser/message -Icomponents/nfc/ndef/parser/record -Icomponents/nfc/ndef/text -Icomponents/nfc/ndef/uri -Icomponents/nfc/t2t_lib -Icomponents/nfc/t2t_lib/hal_t2t -Icomponents/nfc/t2t_parser -Icomponents/nfc/t4t_lib -Icomponents/nfc/t4t_lib/hal_t4t -Icomponents/nfc/t4t_parser/apdu -Icomponents/nfc/t4t_parser/cc_file -Icomponents/nfc/t4t_parser/hl_detection_procedure -Icomponents/nfc/t4t_parser/tlv -Icomponents/softdevice/common -Icomponents/softdevice/s140/headers -Icomponents/softdevice/s140/headers/nrf52 -Icomponents/toolchain/cmsis/include -Iexternal/fprintf -Iexternal/segger_rtt -Iexternal/utf_converter -Iintegration/nrfx -Iintegration/nrfx/legacy -Imodules/nrfx -Imodules/nrfx/drivers/include -Imodules/nrfx/hal -Imodules/nrfx/mdk -Iconfig -IC:/Users/rloher/Nordic/SEGGER Embedded Studio/v3/packages/libraries/STLport/stlport -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__SES_VERSION=41400 -D__CROSSWORKS_ARM_USE_IOSTREAMS -DDEBUG -D DEBUG_NRF -DBOARD_EswRobot_Remote -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52840_XXAA -DNRF_SD_BLE_API_VERSION=6 -DS140 -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -x c -std=gnu11 -working-directory=D:/Projekt/SA-ESW18.02/Remote/BLE_SPI_peripheral D:/Projekt/SA-ESW18.02/Remote/BLE_SPI_peripheral/components/libraries/atomic/nrf_atomic.c

unknown register name 'vfpcc' in asm.

How can i resolve these Errors ?

To my Setup :

I'm Working with Segger Embedded Studio

The Example I'm working with is ble_app_uart from the nrf5SDK

I use gcc compiler not clang.

Best regards

N3210

Parents Reply Children
No Data
Related