VAR-SOM-MX25 Windows Component Variables

From Variscite Wiki

Component Variables

The VAR-SOM-MX25 BSP supports the Windows Embedded CE 6.0 dependency feature, which simplifies the BSP configuration process. Support for this feature means that the selection of certain SYSGEN components in the workspace (e.g. SYSGEN_DISPLAY, SYSGEN_AUDIO) will trigger the automatic selection of certain BSP drivers (e.g. Display, Audio).

WINCE600\PLATFORM\VAR_MX25_P\VAR_MX25_P.bat
Note:
It is not possible to remove the selection of these drivers by clicking the items in Catalog UI. Instead, users need to set the corresponding BSP_NOXXX variables as ‘1’ in Environment dialog (launched from Platform Builder menu Project > Properties > Configuration Properties > Environment).

The following table provides a summary of the BSP_NOXXX environment variables defined in batch file

Name Description Settings
BSP_NOAUDIO Used to exclude support for SSI Audio driver BSP_NOAUDIO=1
Excludes audio driver support from the OS image despite the SYSGEN_AUDIO dependency
BSP_NOBATTERY Used to exclude support for SSI Battery driver. BSP_NOBATTERY=1
Excludes audio driver support from the OS image despite the SYSGEN_BATTERY dependency.
BSP_NODISPLAY Used to exclude support for Display driver. BSP_NODISPLAY=1
Excludes display driver support from the OS image despite the SYSGEN_DISPLAY dependency.
BSP_NODISPLAY Used to exclude support for Display driver. BSP_NODISPLAY=1
Excludes display driver support from the OS image despite the SYSGEN_DISPLAY dependency.
BSP_NOFEC Used to exclude support for FEC driver. BSP_NOFEC=1
Excludes FEC driver support from the OS image despite the SYSGEN_NDIS dependency.
BSP_NOESDHC Used to exclude support for eSDHC driver. BSP_NOESDHC=1
Excludes eSDHC driver support from the OS image despite the SYSGEN_SDBUS dependency.
BSP_NOKEYPAD Used to exclude support for Keypad driver. BSP_NOKEYPAD=1
Excludes Keypad driver support from the OS image despite the SYSGEN_MININPUT dependency.
BSP_NONANDFMD Used to exclude support for NAND Flash driver. BSP_NONANDFMD=1
Excludes NAND Flash driver support from the OS image despite the SYSGEN_FLASHMDD dependency
BSP_NOSIM Used to exclude support for SIM driver. BSP_NOSIM=1
Excludes SIM driver support from the OS image despite the SYSGEN_SMARTCARD dependency
BSP_NOTOUCH Used to exclude support for Touch driver. BSP_NOTOUCH=1
Excludes Touch driver support from the OS image despite the SYSGEN_TOUCH dependency.
BSP_NOUSB Used to exclude support for all USB drivers. BSP_NOUSB=1
Excludes all USB drivers support from the OS image despite the SYSGEN_USB and SYSGEN_USBFN dependency.
BSP_DEBUG_PORT Used to turn one of UARTs to OS debug port BSP_DEBUG_PORT=1
Turns one of UART port to be OS debug port, which is inaccessible from OS.
UART1 is debug port by default.


Note: The opposite setting of "BSP_NOXXX=1" would be either "BSP_NOXXX=" which is set in the batch file by default, or not to define the BSP_NOXXX variable at all. Thus, the driver will be included by SYSGEN selection.

Though the drivers listed above have direct SYSGEN dependency, not all of them can be automatically selected by SYSGEN dependency for the possible reasons below.

  • The driver has multiple subordinate selections, for example there are three selections K9LBG08U0D, K9LAG08U0M and K9LBG08U0M for NAND Flash.
  • The driver depends on another driver, for example Audio depends on I2C1 driver, and Touch depends on ADC driver.
  • The driver conflicts with other drivers, for example SIM driver conflicts with Camera and ESAI drivers