Migration guide to version upgrade from v9.0.0 to latest version 10.5.0

I’m a FreeRTOS starter.
I’d like to update the latest FreeRTOS (V10.5.0) to get security updates in my application.
I want to upgrade to the latest version. Is V10.5.0 drop-in compatible with FreeRTOSV9.0.0? as well please suggest the migration steps
I am very new to RTOS.
Please guide.

Hello @sayli ,

Reading through the History.txt would be a great first step: FreeRTOS-Kernel/History.txt at main · FreeRTOS/FreeRTOS-Kernel · GitHub .

FreeRTOS 10.0.x should be a drop in replacement with a few notable exceptions:

  1. Coroutines have been removed from the kernel recently, so you will not be able to use this feature.
  2. Other items in FreeRTOSConfig have likely changed, so you will need to update that file.
  3. The ARMv7-M MPU ports have recently had some breaking changes which prevent dynamic allocation of Non-Privileged task stacks. If you’re not using an MPU, you don’t need to worry.

Also see here: https://freertos.org/a00104.html#upgrade-instructions

Hi Paul,
Do you know where in the changelog does it say that the coroutines have been removed. I don’t see it mentioned in the changelog.

Co-Routines are still present in the 11.0.1 version of the kernel. The documentation does discourage their use.

@rdarbha Co-routines were briefly removed for a few releases and then added back in a subsequent release.

1 Like