Board Support  Version 1.0
Functions available when using the Board Software Components
 All Data Structures Functions Variables Groups Pages
CMSIS-RTOS Blinky

The CMSIS-RTOS Blinky project is a simple program for turning on and off LEDs on an evaluation Board, using a CMSIS-RTOS compliant real-time operating system (RTOS).

blinky_setup.png

The Abstract.txt file contained in the Documentation group of the Project window gives you more information on the general setup and the available LEDs of the development board.

Build and run the "CMSIS-RTOS Blinky" Project

Open the example project in MDK (the Pack Installer's web page explains how to do this). The µVision Project window should display a similar project structure:

cmsis_rtos_blinky_proj_structure.png
CMSIS-RTOS Blinky Project Structure

Source Files

  • Blinky.c contains the main C function that initializes the board hardware and creates the RTOS threads.
  • RTX_Conf_CM.c is a configuration file for CMSIS-RTOS RTX.

You may now build and download the example project to the evaluation board using the µVision commands:

  • Project –> Build target
  • Flash –> Download

After these steps, the project should start executing on your evaluation kit by blinking the LEDs. In case of errors, refer to the Evaluation Board User's Guide for configuration information.