This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Migrating project is from nRF52810 to nRF52832_QFAB

Hi Sir/Miss,

 

In original project, I use nRF52810. But, it's not enough flash in our customer adding requirements.

Therefore, I want to migrate project from nrf52810 to nrf52832_XXAB in IAR.

I still use SoftDevices 112 and SDK 17.0.2.

I remove original files (iar_startup_nrf52810.s and system_nrf52810.c) and add iar_startup_nrf52.s and system_nrf52.c file in project.

And, setting ROM and RAM in linker script. (ROM end: 0x3FFFF, RAM end 0x20007FFF). The begin of memory is same as before.

To add NRF52 and NRF52832_XXAB are in define symbols (Both of them are in Assembler and C/C++ Compiler). Also, I remove NRF52810_XXAA in define.

I don't change stack/Heap size, they're still 2048.

After compiler, IAR displays Fatal Error[Pe035 ]#error directive: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" in core_cm4.h

__FPU_PRESENT is set to 1.

I see this article and follow it to include "nrf52.h", "arm_const_structs.h" and "arm_math.h"".

But, the result is same.

Do I miss something else?

Please help to solve it.

Thank you.

Related