WINCE移植简要开发步骤
WINCE移植简要开发步骤一、建立新的BP工程,
选择适当的CPU
选择一个合适的模板
Her PlatfpTM, Wizard —- St£P-4,
Design Template
A design template is a pre-defined selection of Catalog items.
Choose the design template that is most closely
aligned with the purpose of your target device.
Provides the starting point for a range of personal
digital assistants (PDAs) or mobile devices with a
clamshell-and-keyboard design.
Mobile Handheld
Tiny Kernel Windows Thin Client
勾选必要的组件
选择合适的网络组件,去掉设备不支持的设备组件
< Back Next > Finish Cancel Available design templates:
Custom Device
Digital Media Receiver
Enterprise Terminal Enterprise
Web Pad Gateway
Industrial Controller
Internet Appliance
IP Phone
Her PlatfpTM, Wizard —- St 理」一
Networking & Communications
Select items for networking and communications to include in your OS design.
> Personal Area Network (PAN) + □ Wide Area Network (WAN)
二、为工程添加设备驱动
1、添加SD 卡的支持
添加 Device Drivers->SDIO->SD Memory
Items :
TCP/IPv6 Support
申 0 Local Area Network (LAN) 味 Wired Local Area Network
Wireless Local Area Network [802.11
Support for 802.11 networking, including secure wireless network communications by using the
802.1x protocol and automatic configuration. Finish Cancel < Back
- 口 Device Drivers 啦 Audio ㈱ Direct3D Mobile 即 Display Q IEEE 1394
+ _J Input Devices 11 Networking ■ Parallel _J PC Card 3 PCI Bus
Q Printer Devices 9 SDIO
0 * Rocking ew
Hick
Help
Pro£&rti€E 添加 Device Drivers->SDIO->SDIO Host->Samsung 2410SDIO Host
田 -i
+ □ SDIO Wi Serial 3 Smart Card 輔 Storage Dr
Dependencies.,.
Refr a sh Catalog
Find
±lzl
-薛 Catalog LJ BSPs □
Core OS _j| Device Drivers
Hfl Audio 尊 Direct3D
Mobile n^j Display Q
IEEE 1394 _I Input
Devices LJ Networking
㈱ Parallel 匚J PC
Card 3 PCI Bus 3 Printer
Devices 曰 SDIO
[]SD Memory 匕呻
SDIO Host I 0 ...........
0 SDIO S SDIO Host CS
聊 |(BSP_SDHC_ 3
Smart Card Offl Storage
Devi LJ USB Functioi
匚J USB Host 3
Windows CE
Manag [].+ + + +
R^fr^sh CatOcg
Find
7 Docking Uiew
Hide
Help 魔*
Proper!i es
2410
2、添加BSP 板载驱动
添加 Catalog->BSPs->Samsung SMDK2410:ARMV4I->Device Drivers 下要用的各种设备
-孑Catalog
-」BSPs
AMD Geode: x86
CEPC: x86
Emulator: x86
Intel PXA27x Dev Platform:ARMV4l
SMDK2410: ARMV4I
-_J Device Drivers
-轴Audio
Audio
-辱Display
Q S32410 LCD Display + CJ Input Devices + Networking
PC Card
Serial
SMDK2410 Power Button
Touch
i+ _I USB Function 出□ USB Host
Ethernet Bootloader [ebooQ (Requl
Q S32410 Wave Click Device
0 S3C2410 NAND Flash [Required)
三、添加开发和应用程序支持
1、添加MFC支持
添力口Catalog->Core OS->Wi ndows CE devices->Applicatio ns and Servies Developme nt->Microsoft Fou ndation Classes(MFC)
4
-兀 Catalog
+ LJ BSPs
-已 Core OS
-品 Windows CE devices
3 口 Applications and Services Development
+」.NET Compact Framework
Q Active Template Lihrary |ATL]
+ LJ C Libraries and Runtimes
+ _J Component Services (COM ?nd DCOM]
[]Exchange Client
Q Lightweight Directory Access Protocol (LDAP) Client
+j Q 材Queuing .................
+ J Object Exchange Protocol (OBEX)
3 Pocket Outlook Object Model (POOM) API | ki □ SOAP Toolkit
+ _I Speech Interface
Q SQL Server CE 2,0
0 Standard SDK tor Windows CE
+ _J XML
+ D Applications - End User
+ _I Communication Services and Networking
—?-b i-Bi "
2、添加SQL CE 的支持
添加 Catalog->Core OS->Windows CE devices->Applications and Servies Development->SQL Server CE2.0
日薛 Catalog
+ BSPs
-)曰 Core OS
(3 品 Windows CE devices
- _j Applicalions and Services Development
+ LJ .NET Compact Framework Q Active Template Library (ATL| I +I 口 C Libraries and
Runlimes
+ LJ Component Services (COM and DCOM]
Q Exchange Client
B Lightweight Directory Access PiotDcol (LDAP) Client + Q Message Queuing (MSMQ)
Q Microsoft Foundation Classes [MFC]
于 _I Object Exchange Protocol [OBEX]
Q Pocket Outlook Object Model (POOM) API
SOAP Toolkit
Speech Interfa ce
3、添加其它想添加的组件,但要注意不要使用的就不要添加,以免镜像文件太大
四、设置各CPU 语言和编译设置(注意,每种 CPU 都要设置一下)I +I
_l + U