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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user