aboutsummaryrefslogtreecommitdiff
path: root/lib/utils
AgeCommit message (Collapse)Author
2015-12-26lib/utils: Add pyexec_frozen_module to load and execute frozen module.Damien George
This is a convenience function similar to pyexec_file. It should be used instead of raw mp_parse_compile_execute because the latter does not catch and report exceptions.
2015-12-12lib/utils/printf: Add vsnprintf alias for Clang.Paul Sokolovsky
Was reported to break MacOSX build.
2015-12-10lib/utils/printf: Apply workaround for static linking with uclibc.Paul Sokolovsky
uclibc objects call __GI_vsnprintf().
2015-11-29py: Change mp_print_strn_t func type to use size_t for the str length.Damien George
2015-11-23lib/utils/printf: Use more conservative check for MICROPY_DEBUG_STDERR.Paul Sokolovsky
2015-11-22lib/utils/printf: Fix issue with putchar define for some ports.Paul Sokolovsky
2015-11-22lib/utils/printf: Add extra prototypes.Paul Sokolovsky
2015-11-22unix: Use printf() implementation in terms of mp_printf().Paul Sokolovsky
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).
2015-11-21py/emitglue: Host definition of mp_verbose_flag.Paul Sokolovsky
This may not seem like the ideal place, but is actually the only place in py/ where it gets referenced, so is just right.
2015-11-10lib/utils/printf: Move from stmhal/ .Paul Sokolovsky
This file contains various MicroPython-specific helper functions, so isn't good fit for lib/libc/.
2015-11-09lib/pyexec: Move header pyexec.h from stmhal directory.Damien George
2015-11-03lib/pyexec: For paste mode use "Ctrl" as the name of the key, not "CTRL".Damien George
2015-10-31stmhal: pyexec.c is common module, move to lib/utils/ .Paul Sokolovsky