CUSTOMIZE THE CLONED BSP

In the previous section, you worked through the exercise to clone and create a new BSP. Although the cloned BSP, MyBSP, contains all the core components needed to develop an OS design and generate a run-time image for the intended target device, it does not include a device driver for the storage device and file system and does not provide an easy access to configure display and other system parameters.

In this section, you work through additional exercises to customize MyBSP and add the following components to make this BSP more developer-friendly:

  • ATAPI device driver to support the IDE storage controller and associated file-system components.
  • Hive-based registry support component to persist Registry settings between power reset.
  • Additional display component to configure the target device’s display resolution.
  • System memory component to support target device equipped with a different system memory size.
  • Serial port components and the option to enable serial debug message output.
  • Device driver for the USB audio controller.
  • USB mass storage class driver to support external USB flash and USB storage devices.

First, you need to open the MyBSP’s catalog file, MyBSP.pbcxml, to make the changes. Following are two different methods to open the MyBSP BSP for editing within the VS2008 IDE:

1. From the Windows Explorer screen, navigate to the _PLATFORMROOT\MyBSP\Catalog folder, right-click the MyBSP.pbcxml file, select Open with, and click on Microsoft Visual ...

Get Professional Windows® Embedded Compact 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.