OSA abstraction layer

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OSA abstraction layer

2,432件の閲覧回数
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,279件の閲覧回数
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 件の賞賛
返信