Required Changes (Compact 7)
3/12/2014
You must make the following changes to your Windows Embedded CE 6.0 BSP for it to run on Windows Embedded Compact 7. These changes include updates to some paths in the Sources files, moving prebuilt binaries, updating the path of rne_mdd.lib, removing vbridge.lib, a change in GUID initialization, removal of the PFN_EDBG_XXXX typedefs, and updating function prototypes.
Important
Always back up data before making changes to code.
Update Sources Paths
You must update several paths in the Sources files to ensure that Windows Embedded CE 6.0 build scripts continue to work in Windows Embedded Compact 7. For change instructions, refer to Update Paths in Sources Files in Port Your Build from Windows Embedded Compact 6.
Copy Prebuilt Binaries
If your build includes prebuilt binary files from BSP vendors, you must copy these files to the appropriate directories to ensure that builds from Windows Embedded CE 6.0 continue to work in Windows Embedded Compact 7. For instructions, refer to Copy Prebuilt Binaries in Port Your Build from Windows Embedded Compact 6.
Work with the Relocation of Rne_mdd.lib
In Windows Embedded CE 6.0, rne_mdd.lib was moved from public\common\oak\drivers\ethdbg\rne_mdd to platform\common\src\common\ethdrv\rne_mdd. The result of this change is that the output binary is written to the environment path of _PLATCOMMONLIB instead of _SYSGENOAKLIB. To update the path, edit all files that include rne_mdd.lib and change the system variable _SYSGENOAKLIB to _PLATCOMMONLIB as follows:
$(_PLATCOMMONLIB)\$(_CPUDEPPATH)\rne_mdd.lib
Work with the Relocation of Vbridge
For Windows Embedded Compact 7, Vbridge functionality is in oal_kitl.lib instead of in a stand-alone library. Include oal_kitl.lib or oal_kitl_pci.lib in the TARGETLIBS list when building KITL. Remove vbridge.lib from the TARGETLIBS list.
The new location for this functionality is %_WINCEROOT%\platform\common\src\common\kitl\vbridge.
Change GUID Initialization
In Windows Embedded CE 6.0, the DEFINE_GUID macro creates either a GUID declaration or a GUID definition depending on the placement of the macro relative to the inclusion of initguid.h. In Windows Embedded Compact 7, the DEFINE_GUID macro always defines a GUID. Therefore, code carried forward from previous versions and compiled in Windows Embedded Compact 7 may contain multiple conflicting GUID definitions. To fix this problem, delete redundant definitions or move them inside include guards so GUIDs are defined only once.
Remove PFN_EDBG_XXXX
The following function typedefs have been removed from the code base in Windows Embedded Compact 7. If your build fails because of the inclusion of these typedefs, remove them from your BSP.
PFN_EDBG_GET_PENDING_INTS pfnEDbgGetPendingInts;
PFN_EDBG_READ_EEPROM pfnEDbgReadEEPROM;
PFN_EDBG_WRITE_EEPROM pfnEDbgWriteEEPROM;