SDK RTOS Abstraction

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

SDK RTOS Abstraction

跳至解决方案
1,281 次查看
matherinewang
Contributor III

SDK supports RTOS Abstraction Layer, it seems that if i use SDK, then i must use abstraction API instead of the RTOS API, such as use task_create() instead of xTaskCreate() in freeRTOS, is it?

 

But I still want to use freeRTOS API in KDS,  can KDS supports freeRTOS awareness now?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,095 次查看
BlackNight
NXP Employee
NXP Employee

You still can use the RTOS API, in fact you can even mix the SDK RTOS and the normal RTOS API in parallel (at least for FreeRTOS, I'm using it in that way).

Not using the SDK RTOS API has the advantage that it does not add an additional layer (faster and less code).

And yes, with KDS you can use the FreeRTOS kernel awarness. You only need to download the Wittenstein plugins. See http://mcuoneclipse.com/2013/08/04/diy-free-toolchain-for-kinetis-part-5-freertos-eclipse-kernel-awa...

Just make sure you are using the 'OpenRTOS (DSF)' views with KDS.

Erich

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,096 次查看
BlackNight
NXP Employee
NXP Employee

You still can use the RTOS API, in fact you can even mix the SDK RTOS and the normal RTOS API in parallel (at least for FreeRTOS, I'm using it in that way).

Not using the SDK RTOS API has the advantage that it does not add an additional layer (faster and less code).

And yes, with KDS you can use the FreeRTOS kernel awarness. You only need to download the Wittenstein plugins. See http://mcuoneclipse.com/2013/08/04/diy-free-toolchain-for-kinetis-part-5-freertos-eclipse-kernel-awa...

Just make sure you are using the 'OpenRTOS (DSF)' views with KDS.

Erich

0 项奖励
回复
1,095 次查看
matherinewang
Contributor III

Thanks Erich for your quickly response. It's great for mixing use.

0 项奖励
回复