First, spend some time building the existing BSP, figuring out how things are
built, and reading the Platform Builder help.
The \platform\<yourplatformname>\drivers\dirs file is generally where you
find the list of drivers that are built when the BSP is built. When you clone
and modify a BSP, that's probably where you'd start to safely remove the
driver's code from the build. Of course, the platform registry file,
generally in \platform\<yourplatformname>\files\platform.reg will likely
contain references to the driver. And, the BIB file, which tells the build
system what files (like DLLs, which each driver will end up being), to
include in the OS, generally in
\platform\<yourplatformname>\files\platform.bib, will have to be modified not
to include the drivers you're trying to remove.
Further notes on exactly what you say you're doing:
1. You don't make a driver for an LCD. The LCD is always connected to the
system via a display driver, so the display driver *may* need to change for a
new LCD (or it may be flexible enough that you can configure it via the
registry or a header file for the LCD you want to use). So, you may be
modifying one or more BSP files for this, but you almost certainly won't be
creating a driver. Read the code for the existing display driver for your
hardware to see how flexible it is.
2. As for porting a display driver from CE5 or earlier to CE6, read the help
for Platform Builder/CE6. That sort of thing is covered there.
3. Finally, if you are new to Windows CE in general, and not just new to
drivers for CE, you really need to slow down and learn how things work
overall, before you try to dive into porting a BSP from one version of an
operating system you don't know anything about to another version that you
also don't know anything about. Maybe you should take a class on Windows CE
operating system building or work through a tutorial (like the CEPC tutorial
in the help). This may seem off-topic for what you need to do, but trust me,
you'll end up wasting way more time trying to port a BSP, than it would take
to run through the tutorial.
Paul T.
Post by win CE 6.0Hello everone,
This is vinoth am a new to develop windows CE6.0 drivers.Here we are going
to use Omap L138 EVM kit for the development.For that i want to make the BSP
to work with the OS(WINCE 6.0).SO i want to write new drivers(LCD only )and i
want to remove some of the unwanted peripherals from the BSP which i have a
sample BSP to work with the EVM kit. please tell me how to remove the
unwanted peripherals from the older BSP which i have and tell me how to make
the lcd driver for the win CE6.0.Please help me because i dont know .so help
me please.
BR
Vinoth