summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorStefan Naumann <me@stefannaumann.de>2017-07-24 18:55:14 +0200
committerDamien George <damien.p.george@gmail.com>2017-08-15 11:53:36 +1000
commitace9fb54053c29574bdf81ffacc5ddcf9d4b45d9 (patch)
treef3358fcd6ebdc11f632b822d73bb70bd58526de3 /py/mpconfig.h
parenta14ce77b28146526661c79c89b2e6ff6837c2bb0 (diff)
py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.
It enables all the DEBUG_printf outputs in the py/ source code.
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 0e76a1ff5..dac8a903c 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -373,6 +373,11 @@
#define MICROPY_DEBUG_PRINTERS (0)
#endif
+// Whether to enable all debugging outputs (it will be extremely verbose)
+#ifndef MICROPY_DEBUG_VERBOSE
+#define MICROPY_DEBUG_VERBOSE (0)
+#endif
+
/*****************************************************************************/
/* Optimisations */