Partager via


Clone a BSP (Compact 7)

3/12/2014

When you clone a BSP, you copy the entire directory of the existing BSP into a new directory, so that you can modify your cloned BSP without affecting the code of the existing BSP. The easiest way to clone a BSP is by using Platform Builder as described in the procedure below.

For this procedure, we assume that you chose to install some BSPs when installing Platform Builder. If you did not, reinstall Platform Builder and include support for the BSPs that you think most closely match your device.

To clone a BSP

  1. On the Platform Builder Tools menu, point to Platform Builder, and then click Clone BSP.

    The Clone Board Support Package dialog box appears.

  2. In the Clone Board Support Package dialog box, browse for and choose OS build tree (WINCEROOT), which is the Windows Embedded Compact 7 installation directory (typically c:\WINCE700).

  3. In the Source BSP list, review the BSPs that you have installed on your computer, and select the BSP you want to clone.

    BSP names are in the form <BSP Name>:<CPU Architecture>.

  4. Under New BSP information, enter your new BSP name, description, a directory name for your cloned BSP (this directory will appear under the %_WINCEROOT%\Platform directory), vendor, and version for the BSP.

    Note

    The name for your new directory cannot contain spaces.

  5. Click Clone to create the BSP.

    A folder for the cloned BSP appears in the %_WINCEROOT%\Platform directory.

Later, when you use the OS Design Wizard in Platform Builder to create your OS design, the cloned BSP will be available on the Board Support Packages page. The cloned BSP will also be available in the Source BSP list (under its new name) the next time you clone a BSP.

See Also

Concepts

BSP Development Overview