Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Kinetis K60 and CodeWarrior

Posted by Bormann on October 26, 2011
There s no FreeRTOS demo for kinetis K60 and Codewarrior. Does it mean that it isn t possible to use FreeRTOS for Kinetis and Codewarrior at the moment or is it possible to start with this combination without a demo?
Is it planned to create a demo for Kinetis and Codewarrior soon?

RE: Kinetis K60 and CodeWarrior

Posted by Dave on October 26, 2011
CodeWarrior is just Eclipse these days I think. Does it use GCC, or, like TI, have Freescale felt the need to add yet another compiler to the ARM compiler arsenal? If it is GCC, then no problem. If it is not, then lobby your Freescale FAE hard for FreeRTOS support.

RE: Kinetis K60 and CodeWarrior

Posted by Vivek on September 2, 2012
FreeRTOS provides only a port on Kinetis K60 using IAR EWARM. I only have Codewarrior. Can somebody guide me if it is possible to use the same code in Codewarrior?( I think IAR doesn't use GCC ....in such a case how can someone get started with RTOS)?

RE: Kinetis K60 and CodeWarrior

Posted by Vivek on September 2, 2012
Can somebody reply to the above question posted by "uhhl"?

RE: Kinetis K60 and CodeWarrior

Posted by Richard on September 2, 2012
Cortex-M3 and Cortex-M4 devices are supported with IAR, Keil and GCC. Cortex-M4 devices are additionally supported with Tasking.

If you CodeWarrior uses GCC, then it is supported, it is just that there is not a pre-configured demo that will work "out of the box". It is impossible to provide demos for every combination of chip and compiler (31 chips and 14 tool chains supported, plus numerous development boards per chip!) - but there are lots of GCC demos for other ports that can be used as a reference.

+ Create a project in CodeWarrior,
+ Check it runs,
+ Add in the FreeRTOS code (FreeRTOS/Source, FreeRTOS/source/portable/GCC/ARM_CM3, FreeRTOS/source/portable/MemMang/heap_x.c),
+ Copy a FreeRTOSConfig.h file from another project
+ Add the FreeRTOS interrupt handlers into the vector table
+ Compiler and work out the include paths required to remove the errors (FreeRTOS/Source/include FreeRTOS/Source/portable/GCC/ARM_CM3 (or CM4), and the directory that has the FreeRTOSConfig.h header file as starters).

There three links were posted recently about the required interrupt vectors:





RE: Kinetis K60 and CodeWarrior

Posted by Vivek on September 3, 2012
Hi Richard.....Thanks a lot. I'll try these steps & yes Codewarrior uses GCC so it should be doable.
Would let you know once I succeed.

Appreciate your responsiveness.

RE: Kinetis K60 and CodeWarrior

Posted by Erich Styger on September 4, 2012
besides of the pointers provided by Richard: there is a CodeWarrior port (with Processor Expert) available in the FreeRTOS community ports, and described in http://mcuoneclipse.wordpress.com/2012/07/20/freertos-with-gcc-cortex-m0-and-kinetis-kl25z-freedom-board/. It supports both GCC and the Freescale ARM compiler. You can integrate gcc into CodeWarrior for MCU10.2 manually, and CodeWarrior V10.3 already comes with ARM Inc. GNU/gcc integrated.

RE: Kinetis K60 and CodeWarrior

Posted by Sergio Prado on September 5, 2012
I have been using FreeRTOS on a K60 MCU using CW 10.2 for a while and it works pretty well.

Sergio Prado

RE: Kinetis K60 and CodeWarrior

Posted by Vivek on September 5, 2012
Thanks for your replies guys.
@ xz8987f: Yes, I am aware of this work that is quite useful. Thanks for the info though.

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner