aboutsummaryrefslogtreecommitdiff
path: root/ports/esp8266/Makefile
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/esp8266/Makefile
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/esp8266/Makefile')
-rw-r--r--ports/esp8266/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/esp8266/Makefile b/ports/esp8266/Makefile
index 60eb7c080..85a04c070 100644
--- a/ports/esp8266/Makefile
+++ b/ports/esp8266/Makefile
@@ -19,6 +19,8 @@ include ../../py/mkenv.mk
QSTR_DEFS = qstrdefsport.h #$(BUILD)/pins_qstr.h
QSTR_GLOBAL_DEPENDENCIES = $(BOARD_DIR)/mpconfigboard.h
+# MicroPython feature configurations
+MICROPY_ROM_TEXT_COMPRESSION ?= 1
MICROPY_PY_USSL = 1
MICROPY_SSL_AXTLS = 1
AXTLS_DEFS_EXTRA = -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=4096