41 Commits (8a0ee5a5c04e83f04d1c62029ac5ba7c74856507)

Author SHA1 Message Date
Jim Mussared 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2 years ago
Damien George 5233fb3a3d extmod/machine_i2c: Only use WRITE1 option if transfer supports it. 2 years ago
Damien George 4a1ae99ac3 extmod/machine_i2c: Add optional support for write-then-read transfers. 2 years ago
Jim Mussared 0e7bfc88c6 all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
Damien George 7d71ae25ed extmod/machine_i2c: Increase default SoftI2C timeout to 50ms. 3 years ago
Damien George 122d901ef1 extmod/machine_i2c: Make SoftI2C configurable via macro option. 3 years ago
Damien George 64180f0742 extmod/machine_i2c: Add init protocol method for generic I2C bindings. 4 years ago
Emil Renner Berthing 9aa58cf8ba py, extmod: Add explicit initializers for default values. 4 years ago
Damien George aaed33896b extmod/machine_i2c: Remove "id" arg in SoftI2C constructor. 4 years ago
Damien George c35deb2625 extmod/machine_i2c: Rename type to SoftI2C and add custom print method. 4 years ago
Michael Buesch cef678b2db extmod/machine_i2c: Fix buffer overrun if 'addrsize' is bigger than 32. 4 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George b10d0664be extmod/machine_i2c: Add i2c.writevto() that can write a vector of bufs. 6 years ago
Damien George 8bcb552d97 extmod/machine_i2c: Remove need for temporary memory in writemem() call. 6 years ago
Damien George 606ea2b10f extmod/machine_i2c: Change C-level API to allow split I2C transactions. 6 years ago
Damien George aa735dc6a4 extmod: Fix to support compiling with object representation D. 6 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 7 years ago
Damien George 5d2279bec1 extmod/machine_i2c: Add hook to constructor to call port-specific code. 8 years ago
Damien George 8b74048d2a extmod/machine_i2c: Expose soft I2C obj and readfrom/writeto funcs. 8 years ago
Damien George 4c905616f0 extmod/machine_i2c: Remove trivial function wrappers. 8 years ago
Damien George 37333cb00a extmod/machine_i2c: Add 'stop' argument to i2c readfrom/writeto meths. 8 years ago
Damien George 0bc99b4836 extmod/machine_i2c: Make i2c.write[to] methods return num of ACKs recvd. 8 years ago
Damien George 07e83573c8 extmod/machine_i2c: Add 'nack' argument to i2c.readinto. 8 years ago
Damien George ced240e72a extmod/machine_i2c: Make C-level functions return -errno on I2C error. 8 years ago
Damien George 946f8dd46f extmod/machine_i2c: Remove unneeded i2c_write_mem/i2c_read_mem funcs. 8 years ago
Damien George 96c3911a0a extmod/machine_i2c: Rewrite mem xfer funcs in terms of C-level protocol. 8 years ago
Damien George c81247f1ab extmod/machine_i2c: Rewrite i2c.scan in terms of C-level protocol. 8 years ago
Damien George bc4ea69795 extmod/machine_i2c: Add argument to C funcs to control stop generation. 8 years ago
Damien George b983cfaf41 extmod/machine_i2c: Add a C-level I2C-protocol, refactoring soft I2C. 8 years ago
Radomir Dopieralski e81a5353cb extmod/machine_i2c: Release SDA on bus error 8 years ago
Radomir Dopieralski 9a82b67f39 extmod/machine_i2c: Raise an error when clock stretching times out 8 years ago
Radomir Dopieralski 702928915c extmod/machine_i2c: Make the clock stretching timeout configurable 8 years ago
Radomir Dopieralski eaef6b5324 extmod/machine_i2c: Use writes not reads in i2c.scan(). 8 years ago
Radomir Dopieralski 219245e10f extmod/machine_i2c: Add support for the addrsize parameter in mem xfers. 8 years ago
Radomir Dopieralski ec078af985 extmod/machine_i2c: Add clock stretching support. 8 years ago
Damien George 4b37e775ea extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low. 9 years ago
Damien George 624738ca64 extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr. 9 years ago
Damien George eec8a94f04 extmod/machine_i2c: Implement I2C memory reading/writing. 9 years ago
Damien George 9314b2df4f extmod/machine_i2c: Fix I2C reading by sending ack/nack at end of byte. 9 years ago
Damien George d083712224 extmod: Add generic machine.I2C class, with bit-bang I2C. 9 years ago