6.2. Examining the project

Start the μVision tool and open the project using Project → Open Project…, navigate to the ExampleSoftware\RTX_Blinky directory in your installation and then select Blinky.Uv2 and click Open.

The project contains three source files:

Startup.s

This file contains the startup code for the application

Blinky.c

This file contains main(), RTX OS calls to initialize the OS, create and delete tasks, and general functions that blink the LEDs.

RTX_Config.c

This file contains code to configure the RTX operating system.

To enable the RTX library in a RealView MDK project, select Project → Options for Target Emulator from the menu, select the Target tab, and set the Operating System selection to RTX Kernel as shown in Figure 6.1.

Figure 6.1. Linking the RTX library to a project

Linking the RTX library to a project

Copyright © 2008 ARM Limited. All rights reserved.ARM DUI 0430A
Non-Confidential