Kinetis + GCC port

Posted by vespaman2 on January 27, 2014

I'm about to start a project using GCC for the Kinetis family (K10, but I think the variants are quite similar), and I thought I should ask, if someone had already done a port, and wouldn't mind sharing.

I'm new to the arm family, so any startup help is much appreciated..

Micael


Kinetis + GCC port

Posted by rtel on January 28, 2014

My original reply to this disappeared when I clicked Post, so I hope this doesn't turn up twice now...

You don't need to create a port, just create a project that uses the existing Cortex-Mx port.

If your part has a floating point unit, and you are going to enable the floating point unit then include the FreeRTOS port files from FreeRTOS/Source/portable/GCC/ARM_CM4F in your project.

If you part does not have a floating point unit, or it does have a floating point unit but the floating point unit will not be enabled, then include the FreeRTOS port files from FreeRTOS/Source/portable/GCC/ARM_CM3 in your project.

http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html http://www.freertos.org/Creating-a-new-FreeRTOS-project.html

Regards.