2022-03-02 04:11 PM
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 X-CUBE-CELLULAR 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
2022-07-20 08:04 AM
x-cube-cellular 7.0.0 shows you that you can mix CMSIS_OS2 API threads and native ThreadX threads.