Share via


Optimize ROM Size (Compact 2013)

3/26/2014

This section discusses ways to optimize your ROM size and structure using two approaches: working with modules and working with Sysgens.

When you design a Windows Embedded Compact 2013 OS for a device that has specific ROM requirements or limitations, the OS size becomes an important factor. After you build the OS, you may want to calculate its size as it will appear in ROM. You may also want to examine the ROM footprint of individual modules and files, which can influence your decision about which features to include in the OS and how to include them. As part of your investigation, you can analyze the Sysgen configuration of your OS to determine which modules are included. Using this information, you can then take steps to optimize your OS size in ROM.

Note

The OS size in ROM is not the same as the nk.bin file size. For more information, see Analyze ROM Size.

In This Section

  • Optimize Modules and Files
    Discusses how to optimize files in ROM by reviewing your executable and non-executable files, and then arranging how they appear in ROM.
  • Optimize Sysgen Usage
    Discusses how to use Sysgen variables and conditional statements to optimize your board support package (BSP) and system design.

See Also

Concepts

Optimize ROM Usage