micropython/ports/nrf/modules
Damien George 64180f0742 extmod/machine_i2c: Add init protocol method for generic I2C bindings.
Hardware I2C implementations must provide a .init() protocol method if they
want to support reconfiguration.  Otherwise the default is that i2c.init()
raises an OSError (currently the case for all ports).

mp_machine_soft_i2c_locals_dict is renamed to mp_machine_i2c_locals_dict to
match the generic SPI bindings.

Fixes issue #6623 (where calling .init() on a HW I2C would crash).

Signed-off-by: Damien George <damien@micropython.org>
2020-11-23 19:45:04 +11:00
..
ble
board
machine extmod/machine_i2c: Add init protocol method for generic I2C bindings. 2020-11-23 19:45:04 +11:00
music
ubluepy
uos nrf: Remove unnecessary includes of mpconfigport.h and its header guard. 2020-09-09 00:13:34 +10:00
utime nrf: Add support for time.ticks_xxx functions using RTC1. 2020-07-08 23:47:02 +10:00