Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Finding Hidden Gold in the WINCE600 Folder Tree Olivier Bloch Technical Evangelist Microsoft Corporation EMB301.

Similar presentations


Presentation on theme: "1 Finding Hidden Gold in the WINCE600 Folder Tree Olivier Bloch Technical Evangelist Microsoft Corporation EMB301."— Presentation transcript:

1 1 Finding Hidden Gold in the WINCE600 Folder Tree Olivier Bloch Technical Evangelist Microsoft Corporation EMB301

2 2 Agenda Platform Builder Build Process OSDesigns vs. Platforms The Build Tree Organization Others Platform Public Private OISDesign

3 3 Lets build somethin'!

4 4 Platform Builder Build Process Configuration of the operating system Compilation of the Board Support Package Creation of the Flat Release Directory Creation of the runtime image

5 5 OSDesign vs. Platform OSDesign: Hardware-neutral configuration of the OS Defines components of Windows CE used Defines included applications Microsoft-provided code Platform: The OEM adaptation layer code Hardware-specific OS configuration-neutral OEM-provided code Platforms defined under \WinCE\Platform directory

6 6 The Build Tree Discussion based on current Platform Builder tree Evolutionary difference between this and earlier trees WINCE600 renamed PBWorkspaces to OSDesigns Build tree amazingly consistent since Pegasus Pegasus was the code name for CE 1.0

7 7 WINCExx\Others Contains CE implementations of run-time libraries Directories ATLATL for Windows CE DOTNETVx.NET Compact Frameworks EDBEmbedded database runtime SLQCE20SQL Server Mobile runtime Visual Studio Device-side code for Visual Studio.NET 2003

8 8 Platform Source code for board support package (BSP) ArubaboardXScale 270-based demo board CEPCBSP for standard PC hardware CommonCommon code used across BSPs DeviceEmulatorBSP for ARM-based emulator H4SampleOMAP 2420-based board MainstoneIIIClassic Intel eval board for Xscale

9 9 Platform\Catalog Provides information about BSP to IDE New to CE 6 Configuration files in XML format

10 10 Platform\Files Location of ROM and file system configuration files Anything not compliable Files Platform.bib BIB file specifying driver files for image Platform.reg Platform-specific registry entries Platform.dat Platform-specific additions to the directory structure Platform.db Platform-specific database initializations Platform.loc Platform-specific localization

11 11 Platform\SRC Source code for BSP Directories under specific platform Bootloader Contains boot loader code DriversDevice driver PPD code OALContains HAL code KITLContains KITL support code IncContains platform include files CommonShared routines used by multiple parts of the BSP

12 12 Platform\SRC\drivers Place for PDD part of drivers Many BSPs reference as generic drivers as possible This reduces the number of drivers on the BSP side Directories keybd Keyboard driver TouchTouch-panel driver Wavedev Audio driver xxxx Your drivers (backlight, system drivers, …)

13 13 Platform\SRC\OAL Location of HAL code Directories OALLibHAL code here [cpu]CPU-specific assembler code OALEXE Used by build tools

14 14 Public Side Directories for projects that make up the major parts of the operating system: CommonCommon OS code and MDD driver source DCOMCOM support MSMQMicrosoft Message Queuing support SCRIPTJScript and VBScript support SERVERSHTTP/FTP/Telnet server support WCEAPPSFEApplications (PWord, Mail, etc) WCESHELLFEExplorer Shell, control panel source Other major subprojects

15 15 Public\Common Location of common code shared across all configurations: Directories CesysgenContains basic configuration files OAKOS files and MDD driver source DDKInclude files for PCMCIA, NDIS miniport, SDIO, and USB drivers SDKInclude and library files for application development

16 16 Public\Common\OAK Location of public half of operating system before parsed into a specific project Directories DriversSource code for MDD side of drivers DemosDemonstration apps FilesCommon configuration, font and localization files BinBuild tools but not compiler or linker MiscBatch files for environment setup IncOAK include files

17 17 Public\Common\SDK Location of template for include and lib files for application development: Directories IncSDK include files LibSDK library files Samples IM example

18 18 Private side Directories containing the private source code When installing the tools, select Source Code List of source code available there

19 19 Private DIRECTXDirectShow source code OSTESTSStressmod test for the OS SERVERSASP, HTTP, MSMQ,… SHELLShell APIs TESTCETK tests source WCEAPPSFE… WCESHELLFE not much… WINCEOS 100% of the OS

20 20 OSDesigns\[your project] Initially: Location of template for your project After system built:.\WinCExx – Contains the customized OS files BSP directory Cesysgen OAK DDK SDK RelDir – Contains the code to be downloaded to the device

21 21 …\[YourProj]\Reldir\... The release directory holds the files created by the build process Location of final build step that turns separate files into ROM image Location of download step Defined by _FLATRELEASEDIR environment variable

22 22 Summary Know OSDesign vs. Project Learn the source

23 23 On The Road Home Windows Embedded CE 6.0 R2 Visual Studio 2005 Professional An embedded board at a hobbyist price No time bombs and full functionality Windows Embedded CE 6.0 R2 Visual Studio 2005 Professional An embedded board at a hobbyist price No time bombs and full functionality

24 24

25 Tech·TalksTech·Ed Bloggers Live SimulcastsVirtual Labs Developers Kit, Licenses, and MORE! Resources for Developers

26 Complete an evaluation on CommNet and enter to win! 1 Year Subscription!

27 27 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28


Download ppt "1 Finding Hidden Gold in the WINCE600 Folder Tree Olivier Bloch Technical Evangelist Microsoft Corporation EMB301."

Similar presentations


Ads by Google