Freigeben über


Creating a New BSP Definition (Windows CE 5.0)

To create a board support package (BSP) definition for an existing BSP that integrates the BSP into the IDE Catalog, you must already have a BSP directory containing all of the source files and configuration files for your BSP.

After you generate the BSP files, you can integrate your BSP into the Catalog.

For information about creating a new BSP with the BSP Wizard by cloning a sample BSP, see Cloning an Existing BSP.

To create a new BSP definition

  1. From the Platform menu, choose BSP Wizard.

  2. In the Choose a Task dialog box, select Create a new BSP and then choose Next.

  3. In the Catalog Item (.cec) File Information dialog box, in the File name for .cec file field, enter a file name for the .cec file that will contain your new BSP.

  4. (Optional) In the Directory for .cec file field, enter the location where the .cec file will be created.

    The default location is %_WINCEROOT%\Public\Common\Oak\Catalog\Cec.

  5. Choose Next.

  6. In the Catalog name field, enter a name for your BSP to display in the Catalog.

  7. (Optional) In the Vendor field, type your company's name and then, in the Version field, type the version number for your BSP.

  8. (Optional) In the Description field, type a description for your new BSP.

    This is shown in the Catalog when you move the pointer over the BSP name.

  9. Choose Next.

  10. In the BSP directory field, type or select the directory name where the BSP files are stored in the %_WINCEROOT%\Platform directory.

  11. In the CPU field, select the CPUs you want your BSP to support.

    Note   Only CPUs included in your Platform Builder installation are listed in the CPU field.

  12. Choose Next.

The Customization dialog box shows a graphical view of the BSP definition with no components present. You can add, modify, or remove components, such as drivers and boot loaders, to the BSP definition.

To customize the BSP definition and complete the wizard

  1. To add a driver to the BSP, choose Add Driver.

    For information about adding drivers to the BSP, see Adding a Driver to an Existing BSP.

  2. To add a boot loader or standalone code to the BSP, choose Add bootloader or standalone code.

    For more information, see Adding a Boot Loader to a BSP Definition.

  3. (Optional) Modify the BSP by performing the following tasks:

    • To remove a component, choose Delete.
    • To edit a component, choose Edit and then edit the component.
  4. When you finish modifying the BSP, choose Next.

  5. To close the BSP Wizard and import your BSP into the Catalog, choose Finish.

    Note   You can import two or more BSPs that have the same name into the Catalog, but the IDE does not support adding two or more BSPs that have the same name to an OS design.

You have now created a .cec file that describes your BSP for display in the Catalog. The BSP appears in the Third Party\BSPs node in the Catalog and is available in the New Platform Wizard for use in new OS designs.

See Also

BSP Wizard Overview | Cloning an Existing BSP | Adding a Driver to an Existing BSP | Adding a Boot Loader to a BSP Definition

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.