freeRTOS SDK integration

cancel
Showing results for 
Search instead for 
Did you mean: 

freeRTOS SDK integration

Jump to solution
415 Views
tonymakkiel
Contributor III


Hi,

     Is there any document which I can refer to on freeRTOS integration? I see there is folder withing the SDK folder. But cant see any eclipse project file.

From a bit of googling, I see this can be included from Processor Expert. But my processor expert does not seem to have a board configuration for either KL43Z or KL17 (screenshot attached).

 

Many Thanks,

Tony

Labels (1)
Tags (2)
0 Kudos
1 Solution
126 Views
BlackNight
NXP Employee
NXP Employee

Hi Tony,

If you are looking for Processor Expert board configurations for the 'newer' devices, you need to load the Kinetis SDK package first, then they are installed:

pastedImage_0.png

See "Install Eclipse Update" in https://cache.nxp.com/files/soft_dev_tools/doc/support_info/KSDK13GSUG.pdf  how to install it.

If you want to use FreeRTOS without Processor Expert, there is a FreeRTOS version included in each SDK.

If you would like to use FreeRTOS with the SDK, then you can use either the NXP provided one for the SDK V1.x. Or you can use the one I maintain in the McuOnEclipse project (see https://mcuoneclipse.com/2014/11/08/tutorial-freertos-with-the-kinetis-sdk-and-processor-expert/  and https://mcuoneclipse.com/2014/11/08/tutorial-freertos-with-the-kinetis-sdk-and-processor-expert/ ).

If you are using the SDK V2.0 (see https://mcuoneclipse.com/2016/01/29/first-nxp-kinetis-sdk-release-sdk-v2-0-with-on-demand-package-bu... ) then you can use directly the FreeRTOS included in the v2 version of the SDK. If you would like to use Processor Expert with the SDK V2.0, then things a bit more complicated (see https://mcuoneclipse.com/2016/05/20/tutorial-freertos-with-nxp-kinetis-sdk-v2-0-and-processor-expert... and https://mcuoneclipse.com/2016/05/15/mother-of-components-processor-expert-with-nxp-kinetis-sdk-v2-0-... ). The later approach is more something advanced, but it gives me the latest FreeRTOS V9.0.0 with all the bells and whistles, plus I can use it easily with Segger RTT (https://mcuoneclipse.com/2015/07/07/using-segger-real-time-terminal-rtt-with-eclipse/ ), Segger SystemViewer (https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freert... ) and Percepio Trace (https://mcuoneclipse.com/2015/07/10/freertos-continuous-trace-streaming/ ). Additionally because I'm using FreeRTOS V9.0.0 with the latest patches, I can see all the threads in Eclipse with Segger debug connection (https://mcuoneclipse.com/2016/06/13/adding-freertos-thread-awareness-to-gdb-and-eclipse/ ).

I hope this helps,

Erich

View solution in original post

0 Kudos
2 Replies
127 Views
BlackNight
NXP Employee
NXP Employee

Hi Tony,

If you are looking for Processor Expert board configurations for the 'newer' devices, you need to load the Kinetis SDK package first, then they are installed:

pastedImage_0.png

See "Install Eclipse Update" in https://cache.nxp.com/files/soft_dev_tools/doc/support_info/KSDK13GSUG.pdf  how to install it.

If you want to use FreeRTOS without Processor Expert, there is a FreeRTOS version included in each SDK.

If you would like to use FreeRTOS with the SDK, then you can use either the NXP provided one for the SDK V1.x. Or you can use the one I maintain in the McuOnEclipse project (see https://mcuoneclipse.com/2014/11/08/tutorial-freertos-with-the-kinetis-sdk-and-processor-expert/  and https://mcuoneclipse.com/2014/11/08/tutorial-freertos-with-the-kinetis-sdk-and-processor-expert/ ).

If you are using the SDK V2.0 (see https://mcuoneclipse.com/2016/01/29/first-nxp-kinetis-sdk-release-sdk-v2-0-with-on-demand-package-bu... ) then you can use directly the FreeRTOS included in the v2 version of the SDK. If you would like to use Processor Expert with the SDK V2.0, then things a bit more complicated (see https://mcuoneclipse.com/2016/05/20/tutorial-freertos-with-nxp-kinetis-sdk-v2-0-and-processor-expert... and https://mcuoneclipse.com/2016/05/15/mother-of-components-processor-expert-with-nxp-kinetis-sdk-v2-0-... ). The later approach is more something advanced, but it gives me the latest FreeRTOS V9.0.0 with all the bells and whistles, plus I can use it easily with Segger RTT (https://mcuoneclipse.com/2015/07/07/using-segger-real-time-terminal-rtt-with-eclipse/ ), Segger SystemViewer (https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freert... ) and Percepio Trace (https://mcuoneclipse.com/2015/07/10/freertos-continuous-trace-streaming/ ). Additionally because I'm using FreeRTOS V9.0.0 with the latest patches, I can see all the threads in Eclipse with Segger debug connection (https://mcuoneclipse.com/2016/06/13/adding-freertos-thread-awareness-to-gdb-and-eclipse/ ).

I hope this helps,

Erich

View solution in original post

0 Kudos
126 Views
tonymakkiel
Contributor III

Thank you Erich,

      I am using SDK 2.0. I shall use try FreeRTOS within the SDK which, looks easier than to meddle with Processor Expert :smileyhappy:.

Cheers,

Tony

0 Kudos