diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-13 11:46:18 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-13 11:53:12 +0300 |
commit | 47442d9f526c7118b56c7cd963862256a3154a54 (patch) | |
tree | 5fa56d34d151f0aef5979ab6d7cc34f8a22a6bc2 /esp8266 | |
parent | 22cbcd55f0446e4fc75d54a136e8d3a791d2b722 (diff) | |
download | micropython-47442d9f526c7118b56c7cd963862256a3154a54.tar.gz micropython-47442d9f526c7118b56c7cd963862256a3154a54.zip |
lib/utils/printf: Rework overriding printer of DEBUG_printf().
By default it uses mp_plat_print, but a port may override it to another
value with MICROPY_DEBUG_PRINTER_DEST.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 764ce7667e..7d5914191a 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -9,6 +9,7 @@ #define MICROPY_EMIT_INLINE_THUMB (0) #define MICROPY_MEM_STATS (0) #define MICROPY_DEBUG_PRINTERS (1) +#define MICROPY_DEBUG_PRINTER_DEST mp_debug_print #define MICROPY_ENABLE_GC (1) #define MICROPY_STACK_CHECK (1) #define MICROPY_REPL_EVENT_DRIVEN (0) |