Kinetis + GCC port

vespaman2 wrote on Monday, 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…


rtel wrote on Tuesday, 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.