Share via


Preparing the BSP for Migration (Windows Embedded CE 6.0)

1/5/2010

You will need to create some new folders, delete old folders, and move some relevant code and build files to prepare your BSP for migration to Windows Embedded CE 6.0.

Procedure

To prepare your BSP for migration

  1. Create the following new folders under %_WINCEROOT%\Platform\<Hardware Platform Name>:

    • Src\Kitl
    • Src\Oal
    • Src\Oal\OalLib
    • Src\Oal\OalExe
  2. Edit the Dirs file in %_WINCEROOT%\Platform\<Hardware Platform Name> to include the following lines:

    DIRS= \
      Kitl \
      Oal
    
  3. Create a Dirs file in %_WINCEROOT%\Platform\<Hardware Platform Name>\Oal containing the following lines:

    DIRS= \
      OalLib \
      OalExe \
    
  4. Move all your BSP code and build files from Src\Kernel to the Src\Oal folder using the following steps:

    • move src\kernel\oal -> src\oal\oallib
    • move src\kernel\kern -> src\oal\oalexe [*]
    • move src\kernel\kernkitlprof -> src\oal\oalexe [*]

    Note

    In Windows Embedded CE 6.0, you do not need to build a profiling versus non-profiling version of the OAL. If your OAL supports profiling, you should always include it in the final or shipping image. The kernel detects and uses OAL profiling if it is available. For more information, see Implementing Profiling Support in the OAL.

  5. Delete the following folders:

    • Src\Kernel
    • Src\Kernel\Oal\
    • Src\Kernel\Kern
    • Src\Kernel\KernKitl
    • Src\Kernel\KernKitlProf

See Also

Tasks

How to Separate the Kernel, OAL, and KITL