Too Long; Didn't Read
FreeRTOS is the most popular open-source RTOS today, supporting 35 microcontroller platforms. An RTOS lets you specify the priority of each task and schedule them accordingly, making the best use of the available CPU processing time. Free RTOS is more costly, so,for mass manufacturing it might not be the ideal choice for mass manufacturing. An experienced developer, coding on Bare Metal with Coroutines would be a better solution. For example, writing secure code is hard to do, so better leave that to the professionals.