BSP Drivers (Windows CE 5.0)
BSP drivers reside in the hardware platform directory; for example, %_WINCEROOT%\Platform\MainstoneII\Src\Drivers. In some cases, the hardware platform specific portion of a CSP driver also resides in this same location.
To include a BSP driver in your own BSP, clone the driver sources into your own BSP directory.
For example, to include the Mainstone II's serial UART driver in your BSP, and assuming your SDB or hardware platform contained the same UART, perform the following steps:
Create a serial directory under your hardware platform directory (for example, %_WINCEROOT%\Platform\<Hardware Platform Name>\Src\Drivers\Serial) and copy the BSP driver sources from the MainstoneII directory, %_WINCEROOT%\Platform\MainstoneII\Src\Drivers\Serial.
Edit the driver's dirs file to include this directory in the build.
To do this using the example, edit %_WINCEROOT%\Platform\<Hardware Platform Name>\Src\Drivers\dirs and include serial.
Copy the Platform.bib and Platform.reg entries for the serial UART from the MainstoneII directory, %_WINCEROOT%\Platform\MainstoneII\Files, to include the driver image in your run-time image.
See Also
CSP Drivers | Common Drivers | Device Driver Libraries | Debugging and Testing
Send Feedback on this topic to the authors