From 7211bafb336b0a22746481489c3252085e78b42a Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 29 Jan 2024 12:19:06 +1100 Subject: [PATCH] esp8266/boards/ESP8266_GENERIC: Disable MICROPY_DEBUG_PRINTERS. This is not enabled on any other MCU port, and is essentially unused on esp8266 because mp_verbose_flag is always 0. Disabling saves ~7k of flash. Signed-off-by: Damien George --- ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h b/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h index 3a9c40e795..1f679961e8 100644 --- a/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h +++ b/ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h @@ -7,7 +7,6 @@ #define MICROPY_EMIT_XTENSA (1) #define MICROPY_EMIT_INLINE_XTENSA (1) -#define MICROPY_DEBUG_PRINTERS (1) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL) #define MICROPY_READER_VFS (MICROPY_VFS) @@ -24,7 +23,6 @@ #define MICROPY_EMIT_XTENSA (1) #define MICROPY_EMIT_INLINE_XTENSA (1) -#define MICROPY_DEBUG_PRINTERS (1) #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL) #define MICROPY_READER_VFS (MICROPY_VFS)