Chapter 10

Using a Real-Time Operating System

Abstract

This chapter introduces the concepts of a Real-Time Operating System and provides an overview of the CMSIS-RTOS2 API.

Keywords

Real-time operating System; RTOS; CMSIS-RTOS2; RTX5; Threads; Mutex; Semaphore; Memory Pool; Message Queue

Introduction

In this chapter we will look at using a small footprint real-time operating system running on a Cortex-M microcontroller. If you are used to writing procedural-based “C” code on small 8- or 16-bit microcontrollers, you may be doubtful about the need for such an operating system. If you are not familiar with using an RTOS in real-time embedded systems, you should read this chapter before dismissing the idea. The use of an RTOS represents a more sophisticated ...

Get The Designer's Guide to the Cortex-M Processor Family, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.