9.28 --datacompressor=opt

Enables you to specify one of the supplied algorithms for RW data compression.

Syntax

--datacompressor=opt
Where opt is one of the following:
on
Enables RW data compression to minimize ROM size.
off
Disables RW data compression.
list
Lists the data compressors available to the linker.
id
A data compression algorithm:

Table 9-1 Data compressor algorithms

id Compression algorithm
0 run-length encoding
1 run-length encoding, with LZ77 on small-repeats
2 complex LZ77 compression
Specifying a compressor adds a decompressor to the code area. If the final image does not have compressed data, the decompressor is not added.

Usage

If you do not specify a data compression algorithm, the linker chooses the most appropriate one for you automatically. In general, it is not necessary to override this choice.

Default

The default is --datacompressor=on.
Related concepts
4.7.3 How compression is applied
4.7.4 Considerations when working with RW data compression
4.7.1 How the linker chooses a compressor
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.