Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


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 ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists