Developing an Operating System > Creating an OS Design with the New Platform Wizard
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
--------------------------------------------Cloning an Existing BSP----------------------------------------------------
Send Feedback on this topic to the authors
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
Developing an Operating System > Creating an OS Design with the New Platform Wizard
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
From the Platform menu, choose BSP Wizard and then choose Next.
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.
Choose Next.
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.
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.
Choose Next.
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.
(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 value is shown in the Catalog when you move the pointer over the BSP name.
Choose Next.
In the Platform directory field, enter or choose 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 The BSP Wizard preselects the CPU based on the BSP you cloned.
Choose Next.
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
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.
Choose Next.
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.