다음을 통해 공유


Cloning an Existing BSP (Windows CE 5.0)

Cloning a BSP is a convenient way to create a new BSP for your software development board (SDB) using Platform Builder.

When you clone a BSP, your new BSP is modeled after an existing BSP in Platform Builder.

When you complete the following procedure with the BSP Wizard, you will have a cloned BSP that is integrated into the Catalog.

Note   The BSP files are not copied to your BSP directory until step 3 in the second procedure of this topic.

For information about creating a BSP definition for an existing BSP with the BSP Wizard, see Creating a New BSP Definition.

To clone an existing BSP

  1. From the Platform menu, choose BSP Wizard and then choose Next.

  2. In the Choose a Task dialog box, select Clone an existing BSP and then select a BSP from the list that closely matches the microprocessor and microprocessor companion chip on your hardware, if applicable.

    For information about supported BSPs in Platform Builder, see Supported Board Support Packages.

  3. Choose Next.

  4. In the File name for .cec file field, do one of the following:

    • Enter a name for the .cec file that provides the information necessary to display your BSP in the Catalog.
    • Choose the default name.
  5. In the Directory for .cec file field, perform one of the following tasks:

    • Enter the directory path where the .cec file for your BSP will be created.
    • Choose the default directory location provided by the BSP Wizard.
  6. Choose Next.

  7. In the Catalog Information dialog box, in the Catalog name field, type a name for your new BSP.

    This is the name that the Catalog displays.

    For example, for the name, type MyGeode.

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

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

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

  10. Choose Next.

  11. In the Platform directory field, enter or choose the directory name where the BSP files are stored in the %_WINCEROOT%\Platform directory.

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

    Note   The BSP Wizard preselects the CPU based on the BSP you cloned.

  13. Choose Next.

  14. Advance to the BSP Customization dialog box by choosing Next.

The BSP Customization dialog box shows a graphical view of the BSP with components such as drivers and boot loaders. You can now add, delete, or edit the included components.

To customize the BSP and complete the wizard

  1. In the BSP Customization dialog box, modify your BSP by adding a driver, boot loader, or standalone code.

    Note   The BSP files have not been copied to your BSP directory yet. Microsoft recommends that you add drivers only after you create the BSP.

    For information about modifying your BSP, see Adding a Boot Loader to a BSP Definition and Adding a Driver to an Existing BSP.

  2. Choose Next.

  3. To complete the process and close the BSP Wizard, 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 a sample OS design.

You have created a BSP that is a clone of the existing BSP. The new BSP appears in the Third Party\BSPs node in the Catalog.

Note   If you had previously added the .cec file to the Catalog, remove it by using the Manage Catalog Features dialog box from the File menu. Then import the edited .cec file again.

See Also

BSP Wizard Overview | Creating a New BSP Definition | 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.