summaryrefslogtreecommitdiff
path: root/ports/esp32/esp32_common.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/esp32_common.cmake')
-rw-r--r--ports/esp32/esp32_common.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/esp32/esp32_common.cmake b/ports/esp32/esp32_common.cmake
index dedef6d78..a9827249b 100644
--- a/ports/esp32/esp32_common.cmake
+++ b/ports/esp32/esp32_common.cmake
@@ -28,6 +28,11 @@ if(NOT DEFINED MICROPY_PY_TINYUSB)
endif()
endif()
+# Enable error text compression by default.
+if(NOT MICROPY_ROM_TEXT_COMPRESSION)
+ set(MICROPY_ROM_TEXT_COMPRESSION ON)
+endif()
+
# Include core source components.
include(${MICROPY_DIR}/py/py.cmake)