Quality RTOS & Embedded Software

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


FreeRTOS Port to TI LM4F232 (Cortex-M4F)

Posted by Ken Pettit on May 20, 2012
Hey Richard,

I just finished porting FreeRTOS to the TI / Stellaris LM4F232 micro controller using Code Composer Studio 4. I started with the Ti Stellaris Cortex-M3 port and made updates so it runs on TI's veal kit for the lm4f and also added UART support with a small command line.

If you (or anyone else) are interested, I could post the port under the TI section of the contributed ports. Would I need a different login to post that or does it use the same username / password as the forum?


RE: FreeRTOS Port to TI LM4F232 (Cortex-M4F)

Posted by Richard on May 20, 2012
Yes - please do post it.

If you copied the M3 port exactly then the code will run on an M4 provided the FPU is not used. If you want to use (or even just enable) the FPU then there are several Cortex-M4F ports that are available as a reference for your CCS port too.

Unfortunately the passwords are all a bit discombobulated as these sites are hosted in different places. The forum password logs you onto SourceForge, whereas the Interactive forums are hosted somewhere completely different. I believe you can log on using OpenID or Twitter credentials on both sites.

Thanks for your (imminent) contribution.


RE: FreeRTOS Port to TI LM4F232 (Cortex-M4F)

Posted by Ken Pettit on May 22, 2012
Hi Richard,

I had to make some mods to the TI CCS4 Cortex-M4F port after a little more testing of the floating-point context. Looks like it is all working properly now. I am unsure where / how to post the port. Seems like the TI section of the "FreeRTOS Ports" web page should be updated, but I'm not sure I have access to this. Suggestions? Should I just email you the port?


RE: FreeRTOS Port to TI LM4F232 (Cortex-M4F)

Posted by Richard on May 23, 2012
If you go to the http://interactive.freertos.org site, in the right hand corner there is a sign up link. That takes you to http://interactive.freertos.org/registration. Once registered you can create a forum post, to which you can attach the code.

If you prefer you can send the code to me an I will post it up (although it would be better if you could do it yourself). If you opt to send it to me then please also include some text that I can post along with the code, explaining what the code is, the tools needed to open the project, and what the code does.

Thanks for your contribution.

RE: FreeRTOS Port to TI LM4F232 (Cortex-M4F)

Posted by Ken Pettit on May 24, 2012
Hi Richard,

Okay, I created an account to upload the port and will get it in tomorrow. Are there any restrictions in the license agreement about taking credit for the port to the new platform?


[ 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.

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