I would suggest converting directly to native ThreadX.
You do have a third option: use our FreeRTOS layer https://github.com/azure-rtos/threadx/tree/master/utility/rtos_compatibility_layers/FreeRTOS
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I want to know if it is best practice to mix both CMSIS_OS2 API threads and native THreadX threads in a project or should I just port old code over to native THreadX threads instead.
I'm building an embedded device using AZRTOS and STM32 Microcontroller platform. I have to port STM's cellular modem FW package to run in my application. That package is based on FREE RTOS and CMSIS_OS V1 api. After porting that functionality I will need to then use NETXDUO to run the PPP interface plus build out the application logic.
My options are
Is option 1 best practice or should I just convert all the FreeRTOS calls to ThreadX?
Thanks
I would suggest converting directly to native ThreadX.
You do have a third option: use our FreeRTOS layer https://github.com/azure-rtos/threadx/tree/master/utility/rtos_compatibility_layers/FreeRTOS