OSA abstraction layer

Showing results for 
Search instead for 
Did you mean: 

OSA abstraction layer

Contributor III


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!

Labels (1)
Tags (2)
0 Kudos
1 Reply

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:



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

Best regards,


0 Kudos