FreeRTOS with KDS v2.0.0 and KSDK v1.1.0.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FreeRTOS with KDS v2.0.0 and KSDK v1.1.0.

跳至解决方案
1,487 次查看
sergeisharonov
Contributor III

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

标签 (1)
标记 (1)
1 解答
834 次查看
BlackNight
NXP Employee
NXP Employee

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

在原帖中查看解决方案

6 回复数
834 次查看
FreeRTOS_org
Contributor IV

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/

835 次查看
BlackNight
NXP Employee
NXP Employee

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

834 次查看
dafodil
Contributor III

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

0 项奖励
回复
834 次查看
sergeisharonov
Contributor III

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

0 项奖励
回复
834 次查看
dafodil
Contributor III

Sergei,

No, I don't know how to remove osa layer.

0 项奖励
回复
834 次查看
sergeisharonov
Contributor III

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

0 项奖励
回复