Understanding RTOS Tasks
In the last two chapters we saw how bare-metal firmware applications make use of the super-loop and the timed super-loop to perform their duties in real time. We also saw how a function can be broken up by using a state machine. This allows the super-loop to perform the function’s duties without preventing other functions from running in a timely manner. In this chapter, we introduce RTOS tasks and show how they make it possible for functions to perform their duties while meeting their deadlines.
The present chapter consists of three parts. The first part provides a conceptual view of the FreeRTOS scheduler and tasks. The second part describes how FreeRTOS was chosen for the book’s RTOS. The third part presents a FreeRTOS example-program, how to run it, and how to use SystemView to analyze task execution. FreeRTOS installation and configuration are also presented.
The technical requirements for this chapter are:
- The dev-board...