Skip to content

Commit 6edd821

Browse files
committed
scripts: imgtool: adjust lzma parameters for minimum RAM consumption
Signed-off-by: Adam Szczygieł <[email protected]>
1 parent bc1f60c commit 6edd821

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/imgtool/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333

3434
from .keys import ECDSAUsageError, Ed25519UsageError, RSAUsageError, X25519UsageError
3535

36-
comp_default_dictsize=131072
36+
comp_default_dictsize=4*1024
3737
comp_default_pb=2
38-
comp_default_lc=3
39-
comp_default_lp=1
38+
comp_default_lc=0
39+
comp_default_lp=0
4040
comp_default_preset=9
4141

4242

0 commit comments

Comments
 (0)