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!
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,
Omar