Real-Time Workshop | ![]() ![]() |
Configuring the Template Makefile
To configure the VxWorks template, tornado.tmf
, you must specify information about the environment in which you are using VxWorks. This section lists the lines in the file that you must edit.
VxWorks Configuration
To provide information used by VxWorks, you must specify the type of target and the specific CPU on the target. The target type is then used to locate the correct cross compiler and linker for your system.
The CPU type is used to define the CPU
macro which is in turn used by many of the VxWorks header files. Refer to the VxWorks Programmer's Guide for information on the appropriate values to use.
This information is in the section labeled
Edit the following lines to reflect your setup.
Downloading Configuration
In order to perform automatic downloading during the build process, the target name and host name that the Tornado target server will run on must be specified. Modify these macros to reflect your setup.
#-------------- Macros for Downloading to Target-------------- TARGET = targetname TGTSVR_HOST = hostname
Tool Locations
In order to locate the Tornado tools used in the build process, the following three macros must either be defined in the environment or specified in the template makefile. Modify these macros to reflect your setup.
#-------------- Tool Locations -------------- WIND_BASE = c:/Tornado WIND_REGISTRY = $(COMPUTERNAME) WIND_HOST_TYPE = x86-win32
![]() | Adding Device Driver Blocks | Building the Program | ![]() |