Skip to content

Commit 048cccc

Browse files
committed
rp2: Enable compressed error messages by default.
Reduces firmware size by about 3000 bytes. Signed-off-by: Damien George <damien@micropython.org>
1 parent bfe16ef commit 048cccc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ports/rp2/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ if(NOT MICROPY_C_HEAP_SIZE)
6666
set(MICROPY_C_HEAP_SIZE 0)
6767
endif()
6868

69+
# Enable error text compression by default.
70+
if(NOT MICROPY_ROM_TEXT_COMPRESSION)
71+
set(MICROPY_ROM_TEXT_COMPRESSION ON)
72+
endif()
73+
6974
# Enable extmod components that will be configured by extmod.cmake.
7075
# A board may also have enabled additional components.
7176
set(MICROPY_SSL_MBEDTLS ON)

0 commit comments

Comments
 (0)