Did your OS size increase between Windows Embedded CE 6.0 and Windows Embedded Compact 7? If so, you are probably looking for answers. This article and two companion articles, How to Analyze OS ROM Size and Tips on Optimizing Your OS Footprint, are based on Johnson Shih’s video, Controlling ROM Size, which discusses how you can determine OS size and what you can do to reduce it.
First, note that simply comparing the sizes of two run-time images (nk.bin files) in the flat release directory provides very little information. You need to consider additional aspects such as:
Assuming that your CPU base, catalog item selections, build settings, and BSP haven’t changed, where is the OS size difference between Windows Embedded CE 6.0 and Windows Embedded Compact 7 coming from? Usually it is from one of these factors:
What can you do? First, you need to know the size of your OS, its modules, and files as they are in ROM. The OS size in ROM is not the same size as nk.bin, and the module and file sizes in ROM don’t necessarily match what you see in the flat release directory. The article How to Analyze OS ROM Size will help you find the exact sizes. After you have that information, you can use the ideas in the Tips on Optimizing Your OS ROM Footprint article to reduce your OS size.
Good luck!
Wendy Giberson edited Original. Comment: Added links to "How to Analyze OS ROM Size" and "Tips on Optimizing Your OS ROM Footprint"