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_s140I am following the steps in Infocenter infocenter.nordicsemiAlthough I'm having questions on 2 points1. 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 0UI 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.cI would really appreciate if I can get some help
system_nrf52.cI would really appreciate if I can get some help
Hi I accidentally verified answer but it is not solved yetThank you for the replyI already tried the first solution, and the third doesn't seem to applyThe second seems interesting but I'm unsure if the changes for nrf52810 are the same as for nrf52811There is one thing that I suspect. I didn't adjust the RAM and flash sizes as it is in the description
Which macros in specific should I change?
Ricardo N said: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.
Yes you are right about the memory sizesbut nrf52811 has a Cortex-M4 processor and that processor has FPU if I'm rightThe problem must be elsewhere
Ricardo N said:Cortex-M4 ... has FPU
No - FPU is optional with Cortex-M4
Sometimes, people say Cortex-M4F to identify that the FPU option is fitted.