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
  • Hi I accidentally verified answer but it is not solved yet
    Thank you for the reply
    I already tried the first solution, and the third doesn't seem to apply
    The second seems interesting but I'm unsure if the changes for nrf52810 are the same as for nrf52811

    There is one thing that I suspect. I didn't adjust the RAM and flash sizes as it is in the description

    • ROM END: 0x2FFFF
    • RAM END: 0x20005FFF

    Which macros in specific should I change?

Children
Related