So far, we've only used the native FreeRTOS API in all of our examples. However, this isn't the only API available for using FreeRTOS. Sometimes, there are secondary goals when developing code – it might need to be reused across other projects with other MCU-based embedded operating systems. Other times, code needs to be interoperable with fully featured operating systems. You may also want to utilize code that has been previously developed for a full operating system. In order to support these goals, there are two other APIs for FreeRTOS that are worth considering alongside the native API – CMSIS-RTOS and POSIX.
In this chapter, we'll investigate the features, trade-offs, and limitations of these three APIs when creating applications based on FreeRTOS.
This chapter covers the following topics:
- Understanding generic RTOS APIs...