µVision User's Guide

legacy

INCLUDE

SyntaxDescription
INCLUDE path filenameOpens filename and proceeds to read and execute µVision3 commands from the file.

The INCLUDE command lets you specify a command file from which commands are read and passed, line by line, to µVision3 for execution. You may use INCLUDE files to perform repetitive operations in µVision3. For example, you might want to create an INCLUDE file that loads your target program, runs the program to the main C function, initializes a Toolbox button, and creates several user functions.

INCLUDE files may be nested up to 4 levels deep. You must stop target program execution to use the INCLUDE command.

Example
INCLUDE measure.ini