O'Reilly logo

Professional Windows® Embedded Compact 7 by Thierry Joubert, David Jones, Samuel Phung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required