Skip to content

Commit 7211baf

Browse files
committed
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 <[email protected]>
1 parent 4a2e510 commit 7211baf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ports/esp8266/boards/ESP8266_GENERIC/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#define MICROPY_EMIT_XTENSA (1)
88
#define MICROPY_EMIT_INLINE_XTENSA (1)
99

10-
#define MICROPY_DEBUG_PRINTERS (1)
1110
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL)
1211

1312
#define MICROPY_READER_VFS (MICROPY_VFS)
@@ -24,7 +23,6 @@
2423
#define MICROPY_EMIT_XTENSA (1)
2524
#define MICROPY_EMIT_INLINE_XTENSA (1)
2625

27-
#define MICROPY_DEBUG_PRINTERS (1)
2826
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL)
2927

3028
#define MICROPY_READER_VFS (MICROPY_VFS)

0 commit comments

Comments
 (0)