Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 8 months ago.
Does RTOS works on the Freescale Freedom KL25Z?
Does RTOS works on the Freescale Freedom KL25Z?
7 Answers
11 years, 8 months 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
11 years, 5 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, 8 months ago.
Please note: I tried to import a RTOS example and got a slew of errors!!!
11 years, 8 months 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