Real-Time Workshop User's Guide | ![]() ![]() |
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
#-------------- VxWorks Configuration --------------
Edit the following lines to reflect your setup.
VX_TARGET_TYPE = 68k CPU_TYPE = MC68040
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
![]() | Adding Device Driver Blocks | Tool Locations | ![]() |