27 Commits (e4b4e5aa31752968d78a87fb97a99f0915ca7614)

Author SHA1 Message Date
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 4f94d90d4d stmhal: Include fatfs headers using lib/fatfs prefix. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 5694cc5490 py: Make stream seek correctly check for ioctl fn; add seek for textio. 10 years ago
Paul Sokolovsky fa2edabc5c stmhal: Switch to file.seek() implementation using stream ioctl. 10 years ago
stijn 2fe4cf7761 Implement kwargs for builtin open() and _io.FileIO 10 years ago
Paul Sokolovsky 1a55b6a787 unix, stmhal: Implement file.readinto() method. 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 bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Damien George adf0f2ae1a py: Change stream protocol API: fns return uint; is_text for text. 10 years ago
Damien George 02bc882c3d stmhal: Add file.flush and os.stat. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George e79c6696c5 stmhal: Fix file print methods to use print instead of printf. 11 years ago
Damien George 820896746c stmhal, file: Seek to end of file if opened in 'a' mode. 11 years ago
Damien George b7572ad11b stmhal, file: Implement a,x,+ open modes, seek and tell. 11 years ago
Paul Sokolovsky 9e29666bf9 py: Implement proper separation between io.FileIO and io.TextIOWrapper. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George d5f5b2f766 py, stream: Implement readlines for a stream. 11 years ago
Damien George d689430e79 stmhal: Add SPI class. 11 years ago
Paul Sokolovsky 72d70cb045 unix, stmhal: Consistently use "FileIO" as class name for file objects. 11 years ago
Damien George 27e735fd18 py: Replace stream_p with *stream_p in mp_obj_type_t. 11 years ago
Damien George 12bab72d93 Improve GC finalisation code; add option to disable it. 11 years ago
Paul Sokolovsky 1d4d9ddd9e stmhal: Reimplement file support using stream protocol API. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George b92d3e1fde stmhal: Add fatfs support, working with flash and SD card. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Damien George 698ec21e46 Make mp_obj_str_get_data return char* instead of byte*. 11 years ago
mux 8592d85b36 Remove redundant include in file.c 11 years ago
mux 40048adabc Move file obj to separate module 11 years ago