esp32: Enable compressed error messages by default.
Reduces firmware size by about 3300 bytes. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
bb1489965f
commit
bfe16ef09b
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue