Commit Graph

15 Commits (b4c1b355bb621c0b1e9980d2d83262327bd001f8)

Author SHA1 Message Date
Damien George b3939e2513 lib/utils/printf: Exclude __GI_vsnprintf alias for gcc 9 and above. 4 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 5 years ago
Scott Shawcroft ea1320bee7 Add uheap for debugging the size of objects. Still not perfect though. 6 years ago
Delio Brignoli e2ac8bb3f1 py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. 6 years ago
Paul Sokolovsky 47442d9f52 lib/utils/printf: Rework overriding printer of DEBUG_printf(). 7 years ago
Paul Sokolovsky f2ed736b29 lib/utils/printf: Add vsnprintf alias for Clang. 7 years ago
Paul Sokolovsky 1f0aaece3a lib/utils/printf: Apply workaround for static linking with uclibc. 7 years ago
Damien George 4e7107a572 py: Change mp_print_strn_t func type to use size_t for the str length. 7 years ago
Paul Sokolovsky 4892e4c5fc lib/utils/printf: Use more conservative check for MICROPY_DEBUG_STDERR. 7 years ago
Paul Sokolovsky 1818da2ef3 lib/utils/printf: Fix issue with putchar define for some ports. 7 years ago
Paul Sokolovsky 8ee43e24f3 lib/utils/printf: Add extra prototypes. 7 years ago
Paul Sokolovsky c3280d83e7 unix: Use printf() implementation in terms of mp_printf(). 7 years ago
Paul Sokolovsky 295ea12411 py/emitglue: Host definition of mp_verbose_flag. 7 years ago
Paul Sokolovsky 73ff0687f2 lib/utils/printf: Move from stmhal/ . 7 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 7 years ago
Dave Hylands 92d4b51ad5 stmhal: Add STM32F7DISC and associated changes. 7 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 8 years ago
Damien George 601c814603 minimal: Allow to compile without defining MICROPY_HAL_H. 8 years ago
Damien George 0b32e50365 stmhal: Make pybstdio usable by other ports, and use it. 8 years ago
Damien George cd34207409 py: Can compile with -Wmissing-declarations and -Wmissing-prototypes. 8 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 8 years ago
Damien George 7860c2a68a py: Fix some macros defines; cleanup some includes. 8 years ago
Dave Hylands 3556e45711 Allow real memory errors (from locked gc) to be reported with traceback. 8 years ago
Damien George d03c681608 stmhal: Use mp_uint_t where appropriate. 8 years ago
Damien George 951ed9d02f stmhal: Fix REPL printing by cooking output sent to stdout_obj. 9 years ago
Damien George 1163cb9cb5 stmhal: Change calls to pfenv_printf to pfenv_vprintf. 9 years ago
Paul Sokolovsky cb66f41ebc py: Make print() accept "file" argument, and actually print to stream. 9 years ago
Paul Sokolovsky 8139494e54 stmhal: Include mpconfig.h before all other includes. 9 years ago
Damien George e79c6696c5 stmhal: Fix file print methods to use print instead of printf. 9 years ago
Damien George 34ab8dd6dd stmhal: Update and improve LCD driver. 9 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 9 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 9 years ago
Damien George 7533700393 stmhal: Rename USART to UART. 9 years ago
Damien George d0f9f6cd3f py: Fix pfenv_print_strn to return correct number of chars printed. 9 years ago
Dave Hylands baf6f14deb Enhance str.format support 9 years ago
Damien George 781687c772 stmhal: Remove unnecessary include. 9 years ago
Dave Hylands 9c122029ec stmhal - Add usart support 9 years ago
Damien George e285511a23 stmhal: Get USB CDC REPL working. 9 years ago
Dave Hylands f14b92b9e1 REPl working on UART6 with STMHAL 9 years ago
Damien George 8bfec2b538 Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h. 9 years ago
Dave Hylands ca5a241e48 Add proper floating point printing support. 9 years ago
Damien George 01d50d0d58 stm: Wrap some functions in MICROPY_ENABLE_FLOAT. 9 years ago
Dave Hylands 49b5533000 Fix floating point printing of negative numbers in the range (0, -1.0) 9 years ago
Paul Sokolovsky 44739e280e Make DEBUG_printf() a proper function, implementation is port-dependent. 9 years ago
Damien George 42647e64db stm: Remove unneccesary include of mpconfigport (already in mpconfig). 9 years ago
mux 8d3b0a9f74 Add LCD check to stdout_print_strn 9 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 9 years ago
Damien George 2300537c79 Cleanup built-ins, and fix some compiler warnings/errors. 9 years ago
Damien George 328708eb25 stm: Re-instate C debugging USART port (disabled by default). 9 years ago
Dave Hylands b5f458278c Added a hacky implementation for %g 9 years ago