Partager via


BSP Environment Variables (Compact 2013)

3/26/2014

You can use environment variables to define the level of support for a board support package (BSP) for Windows Embedded Compact.

After you update an environment variable, run MakeImg.exe to apply the change to your run-time image. If including a file or module is conditional on whether a variable is set, you must also add Romimage conditionals to code in the Platform.bib file. For more information, see Romimage Tool (romimage.exe).

There are two categories of BSP environment variables.

  • BSP variables    Set default information about a driver. For example, if your device uses an RTL8139 network interface card (NIC), set BSP_NIC_RTL8139 = 1.
  • BSP_NO variables    Set options that are not supported by a BSP or device. For example, if your device does not have a USB controller or USB host controller, set BSP_NOUSB = 1.

BSP variables

The following table shows BSP variables.

Environment variable

Description

BSP_CREDSVC_IN_DEVICE

Enables the credential manager and sets it for operation in Devices.exe, even if the OS design includes Servicesd.exe.

BSP_DISPLAY_FLAT

Adds the FLAT display driver, Ddi_flat.dll, to the configuration.

BSP_DISPLAY_MQ200

Adds the MQ200 display driver (Ddi_mq200.dll).

BSP_DISPLAY_NOP

Adds the stub display driver, Ddi_nop.dll, to the configuration.

BSP_DISPLAY_RFLAT

Adds the rotated-FLAT display driver (Ddi_rflat.dll).

BSP_DISPLAY_S3V

Adds the S3 Virge Display Driver.

BSP_GLES2COMPOSITOR

Adds the Windows Embedded Compact OpenGL compositor and OpenGL device driver. Requires SYSGEN_COMPOSITION.

BSP_KEYBD_NOP

Adds the stub keyboard driver to the configuration.

BSP_NIC_AR6K_SDIO

Adds the AR6000 Wi-Fi secure digital input output (SDIO) adapter.

BSP_NIC_DC21X4

Adds the DEC21140 NDIS miniport driver.

BSP_NIC_E100BEX

Adds the Intel EtherExpress PRO Ethernet Network Driver for Intel i82559 PCI NIC.

BSP_NIC_NE2000_PCI

Adds the PCI NE2000 NIC driver.

BSP_NIC_RTL8139

Adds the RTL8139 NIC driver.

BSP_NIC_RTL8180

Adds Nativewifi RTL8180 wireless support and sets it to Access Point (AP) mode.

BSP_NIC_RTL8180_STA

Adds Nativewifi RTL8180 wireless support and sets it to the default Station (STA) mode.

BSP_NIC_RTLNWIFI

Adds the native Wi-Fi driver for the RTL8185 chipset.

BSP_NIC_TIWLAN

Adds the WLAN driver for TI WiLink 7.0 on OMAP4470.

BSP_NOTIFY_IN_DEVICE

Enables the notification subsystem engine for operation in Device.exe.

By default, if this variable is not set and Servicesd.exe is included in the OS design, the engine runs in Servicesd.exe.

BSP_PCCARDATADISK

Uses Atapi.dll for ATA cards.

BSP_SDHC_ELLEN

Assigns the standard SDIO host controller to the TE4370 Evaluation Board.

BSP_XRPLUGIN_DDRAW

Includes the DirectDraw rendering plug-in, to support hardware acceleration with XAML for Windows Embedded.

BSP_XRPLUGIN_OPENGL

Includes the OpenGL rendering plug-in, to support hardware acceleration with XAML for Windows Embedded.

BSP_NO variables

The following table lists BSP_NO environment variables.

Environment variable

Description

BSP_NOACCELEROMETER

Excludes the accelerometer driver.

BSP_NOAUDIO

Excludes support for audio.

BSP_NOBATTERY

Excludes the battery driver.

BSP_NOCOMCARD

Excludes support for ComCard and Com 16550 serial drivers.

BSP_NODISPLAY

Excludes support for displays.

BSP_NOETHER

Excludes support for Ethernet.

BSP_NOGSM

Excludes support for the Coprocessor Shared Memory Interface (CSMI) and Radio Interface Layer (RIL) drivers.

This is applicable only to the TI FSample BSP.

BSP_NOIDE

Excludes support for Integrated Drive Electronics (IDE) devices.

BSP_NOLED

Excludes support for notification LEDs.

BSP_NOPCIBUS

Excludes support for PCI bus.

BSP_NORNDIS

Excludes support for Remote Network Driver Interface Specification (RNDIS).

BSP_NOSHAREETH

Excludes support for shared Ethernet.

BSP_NOTOUCH

Excludes support for touch drivers.

BSP_NOUSB

Excludes support for USB.

See Also

Reference

IMG Environment Variables
Miscellaneous Environment Variables

Other Resources

Environment Variables