Developing RTOS-independent code in Embedded designs
Over the last 30 years hundreds of RTOSes have been developed for embedded systems. In reality most applications running on RTOSes have very little dependence on the specifics of the RTOS they are used with. Applications developed for embedded systems tend to have two dependencies – the RTOS they are running on and the peripherals they work with. Like all good engineers we like to make everything modular – diverging only when the required functionality necessitates it. This minimizes the cost and maximizes the return on the target application development.