Need help on using FreeRTOS with KDS v2.0.0 and KSDK v1.1.0. There are a lot of docs floating on the net but they all relate to older versions and or external resources. Using Processor Expert to integrate FreeRTOS component would be nice. The src for FreeRTOS is already in the KSDK but it does not show up in PE as a component. I am sure I can wrestle it in but do not want to brute force it if there is an "approved" way of doing it. Any pointers would be appreciated.
Regards,
Sergei
Solved! Go to Solution.
The Processor Expert component for FreeRTOS (which supports the Kinetis SDK) is available on SourceForge: http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/
Erich
This website has a lot of information on using FreeRTOS with processor expert. Don't know if it helps. I have linked to just one article that might not be the most relevant to you, but there are several others on the same site.
http://mcuoneclipse.com/2014/11/08/tutorial-freertos-with-the-kinetis-sdk-and-processor-expert/
The Processor Expert component for FreeRTOS (which supports the Kinetis SDK) is available on SourceForge: http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/
Erich
Hi Erich,
I made FreeRTOS project with this tuto and KDS2.00 et KSDK110.
http://mcuoneclipse.com/2014/11/08/tutorial-freertos-with-the-kinetis-sdk-and-processor-expert/
It works fine.
then, I try to add fsl_uart, after configuration, generation, compile, I got 4 errors like that
Description Resource Path Location Type
undefined reference to `OSA_SemaCreate' fsl_uart_driver.c /FreeRTOS_ksdk_pex_test4/SDK/platform/drivers/src/uart line 108 C/C++ Problem
I don't know how to solve these errors.
Bernard
Bernard,
Did you manage to get rid of osa layer? It seems that new KDS/KSDK want to stick it into a project no matter what and that generates conflicting definitions (warnings) with FreeRTOS.
Sergei
Sergei,
No, I don't know how to remove osa layer.
Erich,
Thank you. The crucial piece of information was "The Kinetis SDK already comes with a FreeRTOS port, but it is an older one and not one integrated into Processor Expert." For whatever strange reason I assumed that was fixed in the latest KSDK/KDS release. Apparently it is not.
Now, what is the correct way to fix ""PEX_RTOS_INIT" redefined" warning. Both FreeRTOS1.h and osa1.h define that. Since they are auto-generated manual edit will not work.
Sergei