此文件定义cpu类型和所有系统设置
@REM
@REM Copyright (c) Microsoft Corporation. All rights reserved.
@REM
@REM
@REM Use of this source code is subject to the terms of the Microsoft end-user
@REM license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
@REM If you did not accept the terms of the EULA, you are not authorized to use
@REM this source code. For a copy of the EULA, please see the LICENSE.RTF on your
@REM install media.
@REM
set WINCEREL=1
@REM for bib file and reg file and dat file
set BSP_SMDK2443_CFG=
set BSP_SMDK2416_CFG=1 //定义为1为使用此配置,以下同样,没有设置值就为不使用
@REM for all files except bib and reg file and dat file
set BSP_SMDK2443=1
set BSP_SMDK2416=2
@REM set BSP_TYPE=%BSP_SMDK2443%
@REM set BSP_TYPE=%BSP_SMDK2416%
set BSP_TYPE=%BSP_SMDK2416% //定义cpu类型
if /i "%BSP_SMDK2443_CFG%"=="1" set BSP_EVT1=1
set BSP_NOPCIBUS=1
set BSP_NODISPLAY=
set BSP_NOSERIAL=
set BSP_NOUART0=1 //使用串口0,后面为总共4个串口
set BSP_NOUART1=
set BSP_NOUART2=
set BSP_NOUART3=1
set BSP_NOIRDA=1
set BSP_NOTOUCH=
set BSP_NOPWRBTN=
set BSP_NOKEYBD=
set BSP_NOAUDIO=
set BSP_AUDIO_AC97=1 //声卡
set BSP_NOUSB=
set BSP_NOUSBFN=
set BSP_NOCS8900=1
set BSP_NOBACKLIGHT=1
set BSP_NOBATTERY=1
set BSP_NONANDFS=1
set BSP_NOPCCARD=1
set BSP_NOD3DM=1
set BSP_NOSD=1
if /i "%BSP_SMDK2443_CFG%"=="1" set BSP_NOHSMMC=
if /i "%BSP_SMDK2416_CFG%"=="1" set BSP_NOHSMMC_CH0=
if /i "%BSP_SMDK2416_CFG%"=="1" set BSP_NOHSMMC_CH1=
if /i "%BSP_SMDK2416_CFG%"=="1" set BSP_HSMMC_CH1_8BIT=1
set BSP_NOPOST=1
set BSP_USEDVS=
set BSP_NOI2C=
set BSP_NOSPI=
set BSP_NONLED=
if /i "%BSP_USEDVS%"=="1" set BSP_NONLED=1
set BSP_USBFNCLASS=SERIAL
@REM set BSP_USBFNCLASS=RNDIS
@REM set BSP_USBFNCLASS=MASS_STORAGE
set BSP_KITL=NONE
@REM set BSP_KITL=USBSERIAL
@REM - To support SD card
set SYSGEN_SDBUS=1
@REM song add external application module
@REM if you want to use the module,set it
set BSP_SDIOWIFI=
set BSP_USBWIFI=
set BSP_USBCAMERA=
set BSP_EVDO2000=
set BSP_TDSCDMA=
set BSP_WCDMA=
if /i "%BSP_WCDMA%"=="1" set BSP_NOSIR=1
@REM For Hive Based Registry
set IMGHIVEREG=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_FSREGHIVE=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_REGFLUSH_THREAD=1
@REM For Multiple XIP
set IMGMULTIXIP=
@REM - To support PocketMory
call %_TARGETPLATROOT%\src\Whimory\wmrenv.bat
设置完毕运行一下就可以实现配置更改