4 Commits (c35deb2625efc877b3a0d03d5654e27232b2d101)

Author SHA1 Message Date
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George b7da67cdaa lib/utils/sys_stdio_mphal: Add support to poll sys.stdin and sys.stdout. 5 years ago
Damien George b2b06450e3 lib/utils: Fix to support compiling with object representation D. 6 years ago
Damien George 4f9858e86d stmhal: Move pybstdio.c to lib/utils/sys_stdio_mphal.c for common use. 8 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Paul Sokolovsky 59a1201da9 all: Remove readall() method, which is equivalent to read() w/o args. 8 years ago
Damien George 8298251215 stmhal/pybstdio: Use size_t instead of mp_uint_t. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Damien George 5ab98d5c41 stmhal: Convert to use internal errno symbols; enable uerrno module. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Damien George 3c4b5d4281 stmhal: Implement sys.std{in,out,err}.buffer, for raw byte mode. 10 years ago
Damien George 1511dd4f84 stmhal: Add readinto and readlines methods to sys.stdin, pyb.USB_VCP(). 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 0b32e50365 stmhal: Make pybstdio usable by other ports, and use it. 10 years ago
Damien George 3b51b3e90f stmhal: Collect all root pointers together in 1 place. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George 30dd23aa7f doc: Document gc, sys, math, cmath. 10 years ago
Damien George 3c4db9f91c stmhal: Add USB_VCP class/object, for direct USB VCP control. 10 years ago
Damien George adf0f2ae1a py: Change stream protocol API: fns return uint; is_text for text. 10 years ago
Damien George 951ed9d02f stmhal: Fix REPL printing by cooking output sent to stdout_obj. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 8139494e54 stmhal: Include mpconfig.h before all other includes. 11 years ago
Dave Hylands 4f1b7fec9f Updated teensy to build. 11 years ago
Damien George e79c6696c5 stmhal: Fix file print methods to use print instead of printf. 11 years ago
Damien George 34ab8dd6dd stmhal: Update and improve LCD driver. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 7533700393 stmhal: Rename USART to UART. 11 years ago
Damien George 6d983539bc stmhal: Improve flash storage cache management. 11 years ago
Damien George 86a03044e3 stmhal: Add stdin/stdout/stderr objects. 11 years ago
Damien George c9fd6645b0 stmhal: Factor out stdio and readline to separate files. 11 years ago