Commit Graph

3 Commits (b4c1b355bb621c0b1e9980d2d83262327bd001f8)

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