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

FreeRTOS on nRF52810

Hello,

Does anyone know if the FreeRTOS port that's distributed with the nRF5_SDK_14.2.0 is intended to support nRF52810 chips (which have no hardware FPU)? I started working on an application that would be easier to implement using FreeRTOS but can't get it to work. I was unable to find any mention of it in the existing documentation. SDK 14.2 contains FreeRTOS examples for the other dev boards, but "pca10040e" FreeRTOS examples are missing...

I am getting the following compiler error after including the FreeRTOS files in my project:

Compile output:


Compiling ‘port_cmsis_systick.c’
Compiling ‘queue.c’
Compiling ‘port.c’
     Assembler messages:
        selected processor does not support `vstmdbeq r0!,{s16-s31}' in Thumb mode
        instruction not allowed in IT block -- `stmdb r0!,{r4-r11,r14}'
        selected processor does not support `vldmiaeq r0!,{s16-s31}' in Thumb mode
        instruction not allowed in IT block -- `msr psp,r0'
Compiling ‘tasks.c’
Build failed

Parents
  • I don't think so - I get that from

     

    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…
    By in Nordic DevZone > Nordic Q&A

    that thread which discussed disabling FPU on FreeRTOS on the nRF52840.  The port used was the M4 port which naturally comes with FPU support enabled. This ought not to be that hard to fix yourself but I don't think the Nordic port out of the box will work for you. 

Reply
  • I don't think so - I get that from

     

    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…
    By in Nordic DevZone > Nordic Q&A

    that thread which discussed disabling FPU on FreeRTOS on the nRF52840.  The port used was the M4 port which naturally comes with FPU support enabled. This ought not to be that hard to fix yourself but I don't think the Nordic port out of the box will work for you. 

Children
Related