20 Commits (b6b34cd3f6585eed455473bc149e9db758a45d9c)

Author SHA1 Message Date
Damien George 4029f51842 stmhal: Fix UART so bits counts number of data bits, not incl parity. 10 years ago
Damien George 4ef67d30f1 stmhal: Implement support for RTS/CTS hardware flow control in UART. 10 years ago
Damien George e294bee45b stmhal: Use stream's readinto. 10 years ago
Damien George 185cb0d943 stmhal: Use OSError with POSIX error code for HAL errors. 10 years ago
Damien George 481d714bd5 stmhal: Overhaul UART class to use read/write, and improve it. 10 years ago
Damien George 5fc6aa8100 stmhal: Set is_enabled=false when creating UART object; fix doc typo. 10 years ago
Damien George 5c00757a5c stmhal: uart ioctl uses EINVAL, and checks TXE bit for write-ability. 10 years ago
Damien George e2a618615d stmhal: Fix modselect so non-hashable objects can be polled. 10 years ago
Damien George a2f55fe12b stmhal: Add polling ability to UART object. 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 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
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 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