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

how to disable fpu on freertos nrf52 project

I use blinky_freertos demo on nrf52832,

now I want to disable FPU, but when I disable FPU in Keil MDK option->Target Floating Point Hardware Not Used, there is an error

#error This port can only be used when the project options are configured to enable hardware floating point support.

how to fix this error ? thx!

Parents
  • You can't. That port was done with the expectation there's an FPU and it's enabled, hence the error message if you don't enable it. If you want to use it without FPU support, you'll need to change the port or port it yourself.

  • Our port was built using ARM_CM4F port provided by FreeRTOS itself where they have have the same behavior. I guess that the normal approach with freeRTOS would be to use CM3 port for CM4 without FPU if you do not want to use the HW FPU.

Reply
  • Our port was built using ARM_CM4F port provided by FreeRTOS itself where they have have the same behavior. I guess that the normal approach with freeRTOS would be to use CM3 port for CM4 without FPU if you do not want to use the HW FPU.

Children
No Data