Windows CE -- Setting/Clearing environmental variables for OS Design

An environmental variable contains information such as drive, path, or con figuration string.

When you create an OS design, the IDE sets specific environmental variables based on the settings you choose for your design and run-time image.You can modify these environmental variable settings during the development process.

You can set or clear environmental variables from:

1. A command prompt build window
2. A batch file
3. IDE

To set/clear an environmental variable in the IDE:

For example , to set the BSP_NOAUDIO environmental variable and exclude all audio components from the runtime image, we need to do the following:

1. In the IDE, select Project ->  Properties

2. On the left pane, expand the Con guration Properties node and click on Environment to bring up the Environmental Variables setting utility

3. To set an environmental variable for the OS Design, click on New and enter the Variable name and associated value,

To set/clear environmental variable from Command prompt or batch file:

To set in a command prompt build window or batch file, type the following command:

set <environmental variable> = <value>

To clear, in a command prompt build window or batch fi le, type the following command:

set <environmental variable> =

To determine the value of an existing environmental variable, at the command prompt, enter the following command:

set <environmental variable>

Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

PR, PN and PV Variable in Yocto