BSP COMPONENTS, FILES, AND FOLDERS

A Windows Embedded Compact 7 BSP includes the following components:

  • OEM Adaptation Layer (OAL) codes
  • Boot loader
  • Device drivers to support peripherals on the target device
  • System configuration files

Typically, BSP components and configuration files are organized in one main folder, under the _PLATFORMROOT directory, with subdirectories, as shown in Table 6-2, for the BSP named MyBSP.

TABLE 6-2: BSP Directory Structure

DIRECTORY DESCRIPTION
$(_PLATFORMROOT)\MyBSP BSP’s main directory.
$(_PLATFORMROOT)\MyBSP\Bins Precompiled BSP components provided in binary are placed in this directory.
$(_PLATFORMROOT)\MyBSP\Catalog The BSP catalog file is in this directory.
$(_PLATFORMROOT)\MyBSP\Cesysgen The makefile in this directory can be configured to perform certain tasks during the build process.
$(_PLATFORMROOT)\MyBSP\Files Registry and system configuration files are placed in this directory.
$(_PLATFORMROOT)\MyBSP\Src Source code for the bootloader, device driver, OAL, and KITL are placed in this directory.

In addition to the codes and libraries that reside within the BSP folder, the BSP also references and uses common codes, libraries, and header files, located in the following directory: $(_PLATFORMROOT)\Common\SRC\.

There are multiple folders under this directory; each contains a different set of common codes for a different processor, as shown in Table 6-3.

TABLE 6-3: Common Codes for BSP Provided by Microsoft

DIRECTORY

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.