Line continuation – Freescale Semiconductor Microcontrollers User Manual

Page 849

Advertising
background image

Debugger Engine Environment Variables

Local Configuration File (usually project.ini)

849

Microcontrollers Debugger Manual

NOTE

When using WinEdit, do not set the system environment variable
Defaultdir

. If you do and this variable does not contain the project

directory given in WinEdit’s project configuration, files might not be put
where you expect them.

Line Continuation

It is possible to specify an environment variable in an environment file (default.env/
.hidefaults

) over multiple lines by using the line continuation character ‘\’:

Example:

OPTIONS=\

-W2 \

-Wpd

This is the same as:

OPTIONS=-W2 -Wpd

Be careful when using the line continuation character with paths. For example:

GENPATH=.\

TEXTFILE=.\txt

Results in:

GENPATH=.TEXTFILE=.\txt

To avoid such problems, use a semicolon’;’ at the end of a path, if there is a ‘\’ at the end:

GENPATH=.\;

TEXTFILE=.\txt

Advertising