py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.

It enables all the DEBUG_printf outputs in the py/ source code.
This commit is contained in:
Stefan Naumann
2017-07-24 18:55:14 +02:00
committed by Damien George
parent a14ce77b28
commit ace9fb5405
13 changed files with 17 additions and 12 deletions

View File

@@ -36,7 +36,7 @@
// ultimately we will replace this with a static hash table of some kind
// also probably need to include the length in the string data, to allow null bytes in the string
#if 0 // print debugging info
#if MICROPY_DEBUG_VERBOSE // print debugging info
#define DEBUG_printf DEBUG_printf
#else // don't print debugging info
#define DEBUG_printf(...) (void)0