Creating RTOS Component Using CDE

The CDE defines a GUI where you enter the basic RTOS function needed by an LDD to produce a valid source code that is included in a particular OS. The functions that can be defined in an RTOS component are the following:

For simple RTOSs, the most important functions are memory allocation and de-allocation, enter/exit critical sections, and declaration of C include resolving those functions.

The set of functions related to ISRs intended for an OS with Virtual Interrupt Tables are stored so that the ISRs can receive one or more parameters from the kernel. The OS in these cases provide functions to install and de-install an ISR.

CDE or RTOS GUI provides a graphical interface to select the parameters and prototypes that actually model the RTOS implementation for all those functions. In this chapter, you will learn how to create an RTOS component using CDE.