CMSIS-RTOS2  Version 2.0.0
Real-Time Operating System: API and RTX Reference Implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Create an RTX Project

Example projects using CMSIS-RTOS RTX are available for various development boards. To make use of these examples, you need to install a Device Family Pack in µVision and use Pack Installer to open a CMSIS-RTOS2 Blinky project. If you wish to start a CMSIS-RTOS RTX5 from scratch, follow these steps:

  • Create a new project and select a device.
  • In the Manage Run-Time Environment window that opens, select CMSIS::CORE and CMSIS::RTOS2 (API)::Keil RTX5. If the Validation Output requires other components to be present, try to use the Resolve button:

    manage_rte_output.png
  • Click OK. In the Project window, you will see the files that have been automatically added to you project, such as RTX_Config.c and the system and startup files:

    project_window.png
  • You can add template files to the project by right-clicking on Source Group 1 and selecting Add New Item to 'Source Group 1'. In the new window, click on User Code Template. On the right-hand side you will see all available template files for CMSIS-RTOS RTX:

    add_item.png
  • Finally, configure RTX to the application's needs using the RTX_Config.c file.