How to Set environment variables (wince Embedded System)
Author: Lai yuping (auly) aulyp@163.com
In the system, to add certain components, such as the Bluetooth protocol stack written by Microsoft in Bluetooth development, we need to set some environment variables, such:
Sysgen_bth = 1
Sysgen_bth_ag = 1
Sysgen_bth_audio = 1
Sysgen_bth_csr_only = 1
Sysgen_bth_gateway = 1
Sysgen_bth_modem = 1
Sysgen_bth_pan = 1
In this way, the corresponding components and instances will be compiled,
There are two methods:
1. Find the corresponding component in the catalog on the right of Pb, and add the right part to the system. You can set related environment variables.
However, this environment variable cannot be set here, such as sysgen_bth_audio.
2. In the Pb menu: Platform à settings à environment à, define and assign environment variables here.
After adding it, You can compile it with sysgen.
For example, after sysgen_bth_audio = 1 and sysgen are added, You can compile btscosnd. dll.
7. Add the "cmd" doscommand prompt to wince.
(1) catalog on the right of Pb
--- Core OS
---- Windows CE Devices
---- Shell and user interface
---- Shell
---- Command shell
Add command processor + Console window to the directory, and then run sysgen.