嵌入式单片机智能家居系统说课材料 联系客服

发布时间 : 星期一 文章嵌入式单片机智能家居系统说课材料更新完毕开始阅读

(1)在配套光盘中找到XSBASE270-S.msi安装文件 双击XSBASE270-S.msi文件进行安装(如图5-1所示)。

图 5-1

(2)开始安装(如图5-2所示)。

图 5-2

当安装完成,将在WINCE500\\PLATFORM\\目录下面生成xsbase270_s文件夹,并且BSP安装在Platform Builder中的Catalog栏目中的Third Party中(如图5-3所示)。

图 5-3

4.2.2添加平台特征和配置平台

(1)从File->Recent Workspace中打开实验1的Training工程。

(2)从Catalog->Core OS->Windows CE Devices->Core OS Services->USB Host Support中分别添加支持USB的键盘和鼠标特性组件:USB Human Input Device(HID) Class Driver 和支持U盘的特性组件:USB Storage Class Driver.从Catalog->Core

OS->Windows CE Devices->File Systems and Data

Store->Storage Manager中添加FAT文件系统特性组件:FAT File System.

(3) 从Catalog->Device Drivers->USB Function->USB Function Clients中添加USB Slave的特性组件:Serial.

(4)从Catalog->Core OS->Windows CE Devices->Graphics and Multimedia Technologies->Media->Windows Media Player中添加多媒体播放器:Windows Media Player.

(5) 从Catalog->Third Party->BSPs->Emdoor Systems XSBase2700G:ARVV4I->Device Drivers中的把所有特性组件都添加到工程中。

(6)从Platform->Settings中打开编译选项。

(7)在Locales中选中“中文(中国)”(如图5-4所示)。 (8)再点击“OK”。

图 5-4

(9) 在Default language中选择“中文(中国)”。

(10)在Build Option列表中,只选择Enable Eboot Space in Memory(IMGEBOOT=1)和Write Run-time Image to Flash Memory(IMGFLASH=1)两项。再点击“OK”。如图5-5所示。