Share via


Common Drivers (Windows CE 5.0)

Send Feedback

Common drivers make up most drivers provided by Platform Builder.

Using CEDDK functions, common drivers typically operate in a manner that is neutral regarding buses.

Common driver sources reside in %_WINCEROOT%\Public\Common\Oak\Drivers and are typically included in the Common.bib and Common.reg files.

Therefore, including the drivers in your BSP only involves setting the appropriate environment variables to select the driver.

To determine the variables that need to be set, look at an existing hardware platform that already includes the driver of interest.

For example, to include the MQ200 driver in your BSP, perform the following steps:

  • Edit your hardware platform batch file (in this case %_WINCEROOT%\Platform\<Hardware Platform Name>\<Hardware Platform>.bat).
  • Include BSP_DISPLAY_MQ200=1.
  • Make sure BSP_NODISPLAY is not set to 1 by default.

Any time a project is created based on your hardware platform, the BSP_DISPLAY_MQ200 variable is set to 1.

As long as the core OS components selected include a display, the MQ200 driver is included in the run-time image.

See Also

CSP Drivers | BSP Drivers | Device Driver Libraries | Debugging and Testing

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.