Creating RTOS Component

This topic demonstrates an example of creating an RTOS component for MQX similar to the one that Processor Expert for CW 10.2 includes in its distribution.

To create a new RTOS component:

  1. Open the New Component Wizard.
  2. Select RTOS Component in the Component type group.
    Note: A CDE Professional Edition license is required to enable the RTOS Component option.
    Figure 1. New Component Wizard



  3. Click Next.
  4. In the Component Projects view, expand RTOS and select the MQX1 icon.

    The MQX1 view appears. The first tab displays the RTOS component name, version, and a list box to enter the include statement needed by an LDD-generated code to resolve its OS calls.

    Note: In this example, only mqx.h and ioctl.h are needed.
    Figure 2. RTOS View and RTOS Editors



The MQX1 view displays the following tabs: