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

BSP CONFIGURATION FILES AND FOLDERS

In building a BSP a number of configuration and batch files are used. In Solution Explorer you see two folders, Parameter Files and src, in the BSP’s folder under the platform tree. The Parameter Files configure the BSP build, as shown in Table 35-3.

TABLE 35-3: BSP Parameter Files

FILE PURPOSE
config.bib The memory configuration of the board.
platform.bib BIB settings for all components of the BSP. Typically some components of the BSP are optional, so their BIB settings are conditional so that only the selected options are included in the image.
platform.dat Not used.
platform.db Not used.
platform.reg Registry settings for all components of the BSP. Typically some components of the BSP are optional, so their registry settings are conditional.
sources.cmn Starting point of the BSP build process. All source files in directories below it in the BSP are dependent upon it. Provides include directories and libraries to link.
<bsp>.bat BSP environment variables to use in the build process. In particular it specifies devices in the BSP that can be included in the build. (<bsp> is the name of the BSP.)

Expanding the src folder of a BSP in Solution Folder, you see the following folders, as shown in Table 35-4. (There may be some BSP-specific folders as well.)

TABLE 35-4: BSP Folders in Solution Explorer

BSP FOLDER (IN SOLUTION EXPLORER) PURPOSE
inc Contains header files.
boot Bootloader build directory.
bootloader Networked ...

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