Compartir a través de


Adding a Driver to an Existing BSP (Windows CE 5.0)

To add a device driver to an existing BSP definition using the BSP Wizard, you must already have created the device driver files, and they must reside in the BSP directory or at a different location in your Platform Builder installation.

For information about adding a boot loader to an existing BSP definition, see Adding a Boot Loader to a BSP Definition.

If you are cloning a BSP or creating a BSP definition in the BSP Wizard and you want information on how to add drivers to the BSP, proceed to the second procedure of this topic.

To modify an existing BSP

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

  2. Select Modify an existing BSP, select a BSP to add a driver to, and then choose Next.

  3. In the Catalog name field, enter a name for your BSP that the Catalog will display.

  4. (Optional) In the Vendor field, type your company's name.

  5. (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.

  6. Choose Next.

  7. In the CPUs field, select the CPUs that will support your BSP.

  8. Choose Next.

To select or add a device driver type and complete the wizard

  1. In the BSP Customization dialog box, select Add driver to add a new device driver to the BSP definition.

  2. (Optional) In the Catalog Item Properties dialog box, enter a name for the driver.

    This name is displayed in the Catalog.

  3. Choose the Type tab; then from the Type list, select the appropriate device driver type.

    Note   When you select the device type, be sure to select the correct device type for your driver. Based on your selection, Platform Builder detects the OS dependency information for this driver.

  4. In the Source code directory field, enter the path to the directory that contains the source code for the selected driver.

  5. In the Driver resolver module field, enter the modules that are required to include this driver in your workspace.

    For example, Platform Builder determines that a display driver depends on the device and display modules by matching the module names in the binary image builder (.bib) file. For more information, see Windows CE Modules and Components.

  6. (Optional) To add variables associated with the driver, choose the Variables tab and do the following:

    1. Choose Add.
    2. Enter a name and value for the environment variable.
    3. Choose OK.

    For more information about environment variables you can add, see Environment Variables.

  7. Choose OK to close the Catalog Item Properties dialog box and return to the Customization dialog box.

  8. (Optional) To add multiple device drivers to the BSP definition, choose Add driver.

  9. When you finish customizing your BSP, choose Next.

  10. To close the BSP Wizard and save your changes, choose Next.

You have now added the device driver to the BSP, and the BSP or driver is displayed in the Catalog.

Note   You can add more components to the BSP using this procedure, but every time you change the definition of a BSP in the Catalog, you must provide a new .cec file name.

See Also

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