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
From the Platform menu, choose BSP Wizard.
In the Choose a Task dialog box, select Create a new BSP and then choose Next.
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.
(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.
Choose Next.
In the Catalog name field, enter a name for your BSP to display in the Catalog.
(Optional) In the Vendor field, type your company's name and then, in the Version field, type the version number for your BSP.
(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.
Choose Next.
In the BSP directory field, type or select the directory name where the BSP files are stored in the %_WINCEROOT%\Platform directory.
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.
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
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.
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.
(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.
When you finish modifying the BSP, choose Next.
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