Hi,
I find it difficult to enable the DEBUG_printf output of those files under /py.
After these macros are set, errors occour like DEBUG_printf not defined in py/malloc.c etc.
378 // The mp_print_t printer used for debugging output
379 #ifndef MICROPY_DEBUG_PRINTER
380 #define MICROPY_DEBUG_PRINTER (&mp_plat_print)
381 #endif
382
383 // Whether to build functions that print debugging info:
384 // mp_bytecode_print
385 // mp_parse_node_print
386 #ifndef MICROPY_DEBUG_PRINTERS
387 #define MICROPY_DEBUG_PRINTERS (1)
388 #endif
399
390 // Whether to enable all debugging outputs (it will be extremely verbose)
391 #ifndef MICROPY_DEBUG_VERBOSE
392 #define MICROPY_DEBUG_VERBOSE (1)
393 #endif
It seems that DEBUG_printf works on the esp8266 port.
However, how could I make it also works on micropython core files?