11 years, 1 month ago.

Does RTOS works on the Freescale Freedom KL25Z?

Does RTOS works on the Freescale Freedom KL25Z?

7 Answers

11 years ago.

Hi,

The short answer is no, there is currently no support for the KL25Z in the mbed RTOS.

We're expecting to officially support the KL25Z in the RTOS in the coming weeks. Lots of things happening here at mbed HQ, so priorities are being juggled, and so if anyone wants to do the port in the mean time, we'd be more than happy to support them!

Thanks, Chris

10 years, 12 months ago.

We added RTOS support for the KL25Z in Rev 10.

Cheers, Emilio

10 years, 10 months ago.

Emilio, you said you added the support for the RTOS in rev10. Its compiling but behaving the same as it was behaving previously with the OLD RTOS library

11 years, 1 month ago.

Yes I also want to know

The Hacker
poster
11 years, 1 month ago.

Please note: I tried to import a RTOS example and got a slew of errors!!!

11 years, 1 month ago.

It appears that support isn't quite there yet. A few things I notice:

In mbed-rtos:

  • RTX_Conf_CM.c Needs to be updated to define OS_TASKCNT, OS_CLOCK, and OS_SCHEDULERSTKSIZE for the KL25Z
  • RTX_CM_lib.h Needs to be updated to define INITIAL_SP for the KL25Z
  • rt_CMSIS.c Needs to be updated to support Cortex M0+ (not just Cortex M0) and include "core_cm0plus.h"
  • The rtx directory has target specific sub-directories too, maybe something needs to be added there for the KL25Z

In mbed:

  • KL25Z library needs to be compiled with a define for the Coretex M0+ (not Cortex M0)
  • Not really related to the RTOS, but uARM isn't there for the KL25Z yet

11 years ago.

Any solutions on getting RTOS to work on the KL25Z? Thanks.