Compartilhar via


Device Driver Source Code (Windows CE 5.0)

Send Feedback

The device driver source code is separated into hardware platform dependent code, chip support package (CSP) drivers, and common drivers. With this directory structure, you can copy a public driver to your %_TGTPLAT% directory, and then optimize and test the driver. For information about developing a BSP, see How to Create a Board Support Package. For information on testing drivers, see How to Use the CETK to Test a Driver.

The following table shows the location of the device driver source code.

Path Description
%_WINCEROOT%\Platform\%_TGTPLAT% Contains hardware platform dependent code. This directory primarily contains the OAL, configuration files, and BSP drivers. You should not have to modify the hardware platform dependent drivers in %_WINCEROOT%\Platform\%_TGTPLAT%\Drivers.
%_WINCEROOT%\Public\Common\OAK\CSP Contains CSP drivers for high-integration microprocessors or microprocessor companions with many native peripherals integrated onto the microprocessor. CSP drivers include microprocessor-specific OAL drivers for real-time clocks, timers, debug Ethernet cards, and so on. Standard development boards (SDBs) with the same microprocessors can use the same set of CSP drivers.
%_WINCEROOT%\Public\Common\OAK\Drivers Contains common drivers for non-native peripherals, which are devices that exist on a plug-in card or are wired directly to a circuit board. Common drivers contain platform-independent code that links to the platform-dependent code to create a hardware driver. Common drivers are not specific to a hardware platform or microprocessor. Any SDB can use common drivers.

See Also

Windows CE Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.