OSA abstraction layer

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

OSA abstraction layer

2,413 次查看
LArmstrong1985
Contributor III

Hi,

I saw that there is that component (OSA) which should allow to abstract

the type of RTOS used and use FREERTOS or baremetal indifferently.

However, I have not found examples or documentation about it.

I managed, by making some changes, to compile an example project that uses OSA

and allows me to alternately use FREERTOS or baremetal tasks that I have attached.

Could you please take a look to see if the approach I used is correct?

Is there a map between OSA functions and FREERTOS functions?

For example what can I use to replace the function vTaskStartScheduler() and vTaskSuspend()

in OSA?

Than you in advance!

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

2,260 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello Fabio Benevento 

We don't have an specific map between OSA and FreeRTOS, however you can check the SDK API Reference manual, there you can find a detailed description of the OSA adapter. For example, the function OSA_Start() is similar to vTaskStartScheduler() since both function start the scheduler.

On this link you can find the API Reference Manual: https://mcuxpresso.nxp.com/api_doc/dev/1382/a00043.html

 

Here you can find examples that uses the OSA layer:

pastedImage_2.png

 

Let me know if this is helpful, if you have more questions do not hesitate to ask me.

Best regards,

Omar

0 项奖励
回复