Share via


BSP Creation by Cloning (Windows Embedded CE 6.0)

1/5/2010

The easiest way to create a BSP is to clone an existing BSP that is designed for similar hardware.

Platform Builder includes a BSP for each supported CPU and for associated core logic or chipsets.

Note

Multiple BSPs of the same name cannot be added to a run-time image. You can import two or more BSPs of the same name into the IDE Catalog but the IDE does not support adding two or more BSPs of the same name to a run-time image.

Note

For example, if you create a BSP called MyBSP that supports x86, and then you create a BSP called MyBSP that supports SH4, you cannot have both of these BSPs in a run-time image at the same time.

The BSP consists of two parts:

  • The OEM adaptation layer (OAL) and its associated support files. The OAL is both CPU and board specific and resides in the hardware platform directory %_WINCEROOT%\Platform\<Hardware Platform Name>\Src\Kernel\OAL.
    The OAL and the boot loader typically share much of the same startup code and are generally the first BSP components to be developed.
    The simplest way to get started developing the boot loader and OAL is to copy an existing hardware platform to your hardware platform directory and modify the code to suit your SDB or hardware platform.
  • Device drivers. Device drivers make up the other half of the BSP. You can reuse device drivers included in Platform Builder to save considerable development time.
    Depending on the nature of your hardware platform design, Platform Builder includes one of three classes of device drivers: SOC (system-on-chip), BSP, or common drivers.
    Each class of drivers is included in the hardware platform in a slightly different way.
    For more information about each class of drivers and how each is included in the hardware platform, see Device Driver Libraries.

See Also

Concepts

Board Support Package Overview
BSP Tools
SOC Drivers
BSP Drivers
Common Drivers