Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit

Platform-Specific Source Code

Platform-Specific Source Code

The most important platform-specific source code that you must adapt as part of your BSP is for the boot loader, the OAL, and the device drivers. You can find the corresponding source code underneath the Src folder in the following subdirectories:

SrcBoot loader Contains the boot loader code. However, if the boot loader relies on BLCOMMON and related libraries, then only the basic hardware- specific part of the boot loader is located in this directory. The reusable boot loader code is available in the Public folder (%_WINCEROOT%Public CommonOakDriversEthdbg) and linked as libraries to the BSP part. Chapter 4, "Debugging and Testing the System," introduces the static libraries that facilitate boot loader development.

SrcOal Contains the bare minimal amount of code that is specific to the hardware platform. The majority of the OAL code is located in %_WINCEROOT%PlatformCommon, divided into hardware-independent, processor-family-related, chip-set-specific and platform-specific groups. These code groups provide most of the OAL functionality and are linked to the platform-specific parts as libraries.

SrcCommon and SrcDrivers Contains the driver source code, organized in different categories to facilitate maintenance and portability. These categories are typically processor-specific and platform-specific. The processor-specific component is located in the SrcCommon directory and requires no modifications when adapted to new hardware based on the same processor family.

Оглавление книги

Оглавление статьи/книги

Генерация: 1.311. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз