summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 8b0f291cb..6396850b3 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -366,6 +366,11 @@
#define MICROPY_MEM_STATS (0)
#endif
+// The mp_print_t printer used for debugging output
+#ifndef MICROPY_DEBUG_PRINTER
+#define MICROPY_DEBUG_PRINTER (&mp_plat_print)
+#endif
+
// Whether to build functions that print debugging info:
// mp_bytecode_print
// mp_parse_node_print