Exploring middleware and libraries
To keep up with modern embedded design requirements, microcontrollers offer a wide range of peripherals such as a Universal Serial Bus (USB), Wi-Fi, Bluetooth Low Energy (BLE), and so on.
Developing software from scratch that utilizes these peripherals efficiently presents developers with real challenges. Easy-to-use middleware helps bridge this gap to properly leverage modern communication and interface peripherals.
Most of the RTOSs we listed in the earlier section offer a rich set of modules and middleware to help software developers easily integrate support for these peripherals in their Cortex-M devices. The following diagram shows some examples of common middleware components:
Figure 2.1 – Middleware landscape
As there are so many different types of peripherals that do the same thing (Wi-Fi chips, BLE peripherals, and so on), it can feel like an overwhelming task to find the specific middleware or libraries...