Configuration Files (Compact 7)

3/12/2014

Windows Embedded Compact uses a number of configuration and batch files to create a run-time image. Some configuration files contain settings that are specific to your hardware platform; other configuration files determine which of the platform-independent OS components to include in the run-time image. These configuration files are part of the build process, which is described in Build an OS.

.Bib Files

Binary image builder (.bib) files define which modules and files to include in the run-time image. You use the MEMORY section of .bib files to select the address regions for your kernel and other OS image components, the regions for applications and RAM-based file systems, and reserved regions. For more information, see Binary Image Builder (.bib) File.

The .bib files that closely relate to the BSP include platform.bib, config.bib, and boot.bib (or eboot.bib). The platform.bib file determines which device drivers and other hardware-specific modules are included in the run-time image. The config.bib file defines the memory layout and configuration options for the run-time image, and the boot.bib or eboot.bib file defines the memory layout and configuration options for the boot-loader image. For examples of these files, see the directories %_WINCEROOT%\Platform\BSPTemplate\Files and %_WINCEROOT%\Platform\BSPTemplate\Src\Bootloader\Boot. The Boot Arguments area of memory is defined in the config.bib file, for example:

ARGS 800FF000 00001000 RESERVED ; BOOT ARGS

.Reg Files

Registry (.reg) files contain registry entries for the run-time image. The platform.reg file contains hardware registry settings for the Windows Embedded Compact powered device. Each device driver may also have a .reg file. The combination of all .reg files in the build process determines which device drivers load when the run-time image boots. For more information, see Build and Test Your Device Driver.

See Also

Concepts

BSP Components