aboutsummaryrefslogtreecommitdiff
path: root/ports/minimal
diff options
context:
space:
mode:
authorJim Mussared2020-03-04 21:56:44 +1100
committerDamien George2020-04-05 15:02:06 +1000
commit073b9a5eb888b26be7ce4c65e9649b6c3857ba39 (patch)
tree3edb68df0408646d31123024403d95b37f40dabd /ports/minimal
parentdef76fe4d9bbc2c342594dc05861b24d7165d274 (diff)
ports: Enable error text compression for various ports, but not all.
Enabled on: bare-arm, minimal, unix coverage/dev/minimal, stm32, esp32, esp8266, cc3200, teensy, qemu-arm, nrf. Not enabled on others to be able to test the code when the feature is disabled (the default case). Code size change for this commit: bare-arm: -600 -0.906% minimal x86: -308 -0.208% unix x64: +0 +0.000% unix nanbox: +0 +0.000% stm32: -3368 -0.869% PYBV10 cc3200: -1024 -0.558% esp8266: -2512 -0.368% GENERIC esp32: -2876 -0.205% GENERIC[incl -3168(data)] nrf: -1708 -1.173% pca10040 samd: +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
Diffstat (limited to 'ports/minimal')
-rw-r--r--ports/minimal/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/minimal/Makefile b/ports/minimal/Makefile
index d8afa068d..b44dda7ac 100644
--- a/ports/minimal/Makefile
+++ b/ports/minimal/Makefile
@@ -5,6 +5,9 @@ CROSS = 0
# qstr definitions (must come before including py.mk)
QSTR_DEFS = qstrdefsport.h
+# MicroPython feature configurations
+MICROPY_ROM_TEXT_COMPRESSION ?= 1
+
# include py core make definitions
include $(TOP)/py/py.mk