| Age | Commit message (Collapse) | Author |
|
The definition of DEBUG_printf doesn't depend on
MICROPY_USE_INTERNAL_PRINTF so move it out of that preprocessor
block and compile it conditionally just depending on the
MICROPY_DEBUG_PRINTERS macro. This allows a port to use DEBUG_printf
while providing it's own printf definition.
|
|
There were several different spellings of MicroPython present in comments,
when there should be only one.
|
|
This new config option allows to control whether MicroPython uses its own
internal printf or not (if not, an external one should be linked in).
Accompanying this new option is the inclusion of lib/utils/printf.c in the
core list of source files, so that ports no longer need to include it
themselves.
|
|
By default it uses mp_plat_print, but a port may override it to another
value with MICROPY_DEBUG_PRINTER_DEST.
|
|
Was reported to break MacOSX build.
|
|
uclibc objects call __GI_vsnprintf().
|
|
|
|
|
|
|
|
|
|
In other words, unix port now uses overriden printf(), instead of using
libc's. This should remove almost all dependency on libc stdio (which
is bloated).
|
|
This may not seem like the ideal place, but is actually the only place
in py/ where it gets referenced, so is just right.
|
|
This file contains various MicroPython-specific helper functions, so isn't
good fit for lib/libc/.
|