Using RTOS Component in Processor Expert Project

Once the RTOS Component has been set with the correct values, it can be used in a normal Processor Expert project. The Processor Expert project should use the RTOS component and one or more LDDs corresponding to the hardware architecture selected for the project.

The project should also contain the actual RTOS with the HAL adaptation layer to link all code together. To use RTOS component in a Processor Expert Enabled project:

  1. Switch back to C/C++ Eclipse perspective.
  2. Right-click in the Components Library view and select Refresh.
    Figure 1. Components Library View



  3. Create a new CodeWarrior project for Kinetis (K60) with Processor Expert enabled.
  4. Select the new RTOS component from the operating systems group of Components Library Categories and add it to the Processor Expert project.
  5. Select and add one or more LDDs from section "Logical Device Drivers" of Processor Expert Categories view. For example, select Ethernet_LDD and Serial_LDD.

    K60 has several UART ports, so Processor Expert will display a pop-up message box.

  6. Select Shared in the message box that appears.
    Figure 2. Categories Tab - Components Library View



  7. Set the correct hardware settings for the LDDs.
  8. Select Project > Generate Processor Expert Code from the CodeWarrior IDE menu.
    Figure 3. Project Panel