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

Transferring the project to nRF52811 hardware - FPU error

Hello,
I am using the PCA10056 to program a nrf52811 chip on a custom board with SDK 15.3.0.
I'm using the example ble_app_blinky_pca10056_s140
I am following the steps in Infocenter infocenter.nordicsemi

Although I'm having questions on 2 points

1. I get a compilation error "#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)""
in 
#elif defined ( __GNUC__ )
  #if defined (__VFP_FP__) && !defined(__SOFTFP__)
    #if (__FPU_PRESENT == 1U)
      #define __FPU_USED 1U
  #else
    #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
    #define __FPU_USED 0U

I checked and __FPU_PRESENT is set to 1

2. On step 6 in the documentation I can't find the files to delete, _startup_nrf52.s and system_nrf52.c


I would really appreciate if I can get some help

Parents Reply
  • unsure if the changes for nrf52810 are the same as for nrf52811

    As far as not having an FPU, that would be the same.

    Memory sizes wouldn't have anything to do with it complaining about FPU instructions.

Children