
Section 6 – Setting up Include Folders (Optional) Now to set up the Includes directory and copy the header and library files needed for the build. After this step, the Project Explorer should look similar to Figure 6.įigure 6 Project Explorer after adding source files Repeat this process again, this time setting the From Directory in step c to the RTX_Blinky\obj folder and import the scatter file Blinky.sct. On the right hand side, check the boxes next to all. Right click the project folder and select ImportĮxpand General, select File System, and click Next.Ĭlick the Browse button and set the From Directory field to the Keil RTX_Blinky path.
Keil 5 include path code#
Section 5 – Adding Source Code to the RVDS Project To copy the C and assembly source files to the RVDS project: In the Project Explorer: 1. Make sure None is selected for the Templates and click Finish. When asked for a target, select Keil MCBSTM32.Ĭlick Next again for the Language Settings. 1.įrom here, click File New RealView Project.įill in the desired Project Name and click Next (see figure 4).įigure 4 RVDS New Project Copyright © 2009 ARM Ltd. If you ended up at the Eclipse welcome screen instead, click the rightmost button labeled Go to Workbench. Section 4 – Creating and Configuring the RVDS Project A Workbench should be open with no projects. When prompted for the workspace, click Browse and select the Workspace Folder created in section 1.įigure 3 Setting the RVDS Workspace Directory The scatter file generated by the Keil tools will be used as a starting point for the RVDS project’s memory map.Ĭopyright © 2009 ARM Ltd. uvproj file for µVision 4).Ĭompile the project by selecting Project Rebuild All Target Files (see figure 2). Open the RTX_Blinky project that has just been copied to the Workspace Folder by double clicking the. Section 2 – Compiling the µVision Project 1. Copying the Keil example project to the Workspace Folder is not necessary, but will ensure that the original RTX_Blinky program is unmodified.įigure 1 Copying Keil example to the Workspace Folder Section 1 – Setting up the Eclipse Workspace Folder 1.Ĭreate a new folder to use as the Eclipse workspace this folder will be referred to as the Workspace Folder for the rest of this document.Ĭopy the Keil MDK project from \Keil\ARM\Boards\Keil\MCBSTM32\RTX_Blinky to the Workspace Folder (see figure 1).
Keil 5 include path software#
Information in this file, the accompany manuals, and software is Copyright (c) ARM. 8 Section 8 – Configuring the Real View Linker.9 Section 9 – Building the RVDS Project.10 Section 10 – Troubleshooting. 5 Section 6 – Setting up Include Folders (Optional).5 Section 7 – Configuring the Real View Compiler. 2 Section 3 – Starting RVDS Workbench.3 Section 4 – Creating and Configuring the RVDS Project.3 Section 5 – Adding Source Code to the RVDS Project. 2 Section 2 – Compiling the µVision Project. This document will walk through converting the Keil MCBSTM32’s RTX_Blinky example program into a working RVDS project.Ĭontents Section 1 – Setting up the Eclipse Workspace Folder. Application Note: 206 Porting a Keil RTX Program to RVDS Abstract Since the RTX library was built using the Real View compiler, RVDS has no problem building RTX applications.
