Creating new RTOS adapter component

To create a new RTOS component:

  1. Use Component Wizard tool to create a new RTOS adapter component.
    1. Create a new component.
    2. Fill the short hint, author name, and change the icon (optional).
    3. Select component category SW Operating System.
  2. Add one property of RTOS component (optional)

    Select the property of type Enumeration for selecting the version of RTOS. This property is optional.

  3. Remove the existing RTOS adapter group containing properties to select between RTOS native or user-defined functions to enter/exit into/from a critical section.
  4. Add configuration properties of new RTOS adapter. These properties are all RTOS specific.
  5. Add calls of export/publish subroutines to the .TS2 file of the RTOS components to export/publish all RTOS adapter properties. For details, see Hosted properties in RTOS component topic.
  6. There is a limitation of current Component Wizard distributed with CodeWarrior. As a workaround for this, open bean XML file of RTOS Component located at: $PE/beans/<rtosName>.bean1 and add <OperatingSystemId>XXX</OperatingSystemId> to the /<Options> new child XML element. Replace XXX with the name of RTOS.
    Note: On Windows Vista, the bean file can be created at $SystemDrive/Program Data/Processor Expert/CW/beans/<rtosName>.bean depending on the permissions on the Program Files directory.