Compartilhar via


COMPRESSION (Windows CE 5.0)

This configuration option specifies whether Romimage.exe compresses the writable sections in the run-time image. If the writable sections, comprised of data and files, are compressed, the kernel decompresses them as it loads them into RAM. By default, code is not compressed.

This option uses the following syntax.

  COMPRESSION = OFF | ON 

Parameters

  • OFF
    The writable sections are not compressed.
  • ON
    By default, the writable sections in the MODULES section, as well as all files in the FILES section, are compressed.

Remarks

The ON configuration option should always be used. When ON, the Compression component must be added to the run-time image.

By default, Romimage.exe compresses all writable sections to reduce the run-time image size. When the module is loaded from ROM or flash memory, the writable sections are decompressed into RAM. If COMPRESSION is set to OFF, compression is turned off for the whole binary image builder (BIB) file.

For modules containing the C attribute, which means compress everything, this configuration option is ignored, because the entire module is already compressed. For more information about compression of individual modules, see MODULES Section.

The writable sections are always copied into RAM, even if they are not compressed.

See Also

CONFIG Section | MODULES Section | Binary Image Builder File

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.