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.
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.)
BSP FOLDER (IN SOLUTION EXPLORER) | PURPOSE |
inc | Contains header files. |
boot | Bootloader build directory. |
bootloader | Networked ... |
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.