diff options
| author | Damien George <damien@micropython.org> | 2025-03-13 15:19:08 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-04-22 11:57:26 +1000 |
| commit | bfe16ef09bd06acf359a214f97a1b21f5fc71d66 (patch) | |
| tree | 5941a6e3d641c6e867738bcb8be3d0900f7668ee | |
| parent | bb1489965f74cfe839c3452e1b6a04e82c695bf5 (diff) | |
esp32: Enable compressed error messages by default.
Reduces firmware size by about 3300 bytes.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/esp32/esp32_common.cmake | 5 |
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) |
