I have an application developed in PlatformIO that is developed in the "superjloop" style (i.e. an infinite loop, processing inputs as they're available).
For more flexibility, I'd like to modify this to use an RTOS, where I can have separate threads, be able to set ahead priorities where needed, have some type of signaling/semaphore between threads, and have a mutex for protection.
What options do I have with PlatformIO? I've used FreeRTOS & some other older RTOSes before, but haven't yet found anything here that is similar. A full RTOS like FreeRTOS is prob. not needed, just the features in the paragraph above.