10 Commits (c93d9caa8b8be81f7e6faf9f2ca2ad16d4942ab8)

Author SHA1 Message Date
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Ryan Shaw f99491cbf7 stmhal: uart.any() function now returns number of bytes available. 9 years ago
Damien George 731f359292 all: Add py/mphal.h and use it in all ports. 9 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George b68d98d61c teensy: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 481d714bd5 stmhal: Overhaul UART class to use read/write, and improve it. 10 years ago
Dave Hylands 4d9dd26818 Fix teensy to build on latest tree. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Dave Hylands 4f1b7fec9f Updated teensy to build. 11 years ago
Damien George 5fc400ccdb stmhal: Document physical pins for SPI, I2C, UART busses. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky 9b71b16a94 unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 8d09640b22 stmhal: Add documentation in comments, and script to generate HTML. 11 years ago
Damien George dbc81df5d4 Simplify names for argcheck.c / arg parsing. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 7533700393 stmhal: Rename USART to UART. 11 years ago
Damien George 34f01c2ca1 stmhal: Add some documentation to I2C, SPI and USART modules. 11 years ago
Damien George 3771a097da stmhal: Improve USART class, to be more like SPI and I2C. 11 years ago
Damien George c66d86c5ce stmhal: Big cleanup; merge gpio into Pin; make names consistent. 11 years ago
Damien George c13d0b3304 stmhal: Wrap skin-named-usarts in PYBV10 #if. 11 years ago
Damien George 7e5be0b1b4 stmhal: Improved usart module a bit. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George 09d207785c stmhal: Unify naming of HW config; make SD detect configurable. 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 38f0c607b0 stmhal: Change Usart creation function to class make_new. 11 years ago
Dave Hylands 9c122029ec stmhal - Add usart support 11 years ago
Damien George 280e7208d8 Add vstr_ins and vstr_cut_out; improve stmhal readline. 11 years ago
Dave Hylands f14b92b9e1 REPl working on UART6 with STMHAL 11 years ago
Damien George c3d35c6ac7 stm: Put pyb module in ROM. 11 years ago
mux d0ffda91cc Fix usart_obj_tx_char 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
Damien George 51f3a6becd stm: Improved ADC module; add BOARD_NAME config value. 11 years ago
Damien George b5d13c309f stm: Fix USART3 init. Small edits to Makefile and other things. 11 years ago
Damien George 5fa93b6755 Second stage of qstr revamp: uPy str object can be qstr or not. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Damien George 613eb25545 stm: Fix print methods with new kind argument. 11 years ago
Damien George 328708eb25 stm: Re-instate C debugging USART port (disabled by default). 11 years ago
mux e98cc2b691 Fix usart_obj_tx_str 11 years ago
Damien George 2d45429122 Use memcpy instead of strncpy; add usart.status to stm. 11 years ago
mux c70ac7bf71 Add USART Micro Python Bindings 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
Damien 8f7491a109 Add USART support, connected to stdio for REPL. 11 years ago