micropython/ports
Damien George 5233fb3a3d extmod/machine_i2c: Only use WRITE1 option if transfer supports it.
When MICROPY_PY_MACHINE_I2C_TRANSFER_WRITE1 is enabled the port's hardware
I2C transfer functions should support the MP_MACHINE_I2C_FLAG_WRITE1
option, but software I2C will not.  So add a flag to the I2C protocol
struct so each individual protocol can indicate whether it supports this
option or not.

Fixes issue #8765.

Signed-off-by: Damien George <damien@micropython.org>
2022-06-17 11:57:57 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
esp32 extmod/machine_i2c: Only use WRITE1 option if transfer supports it. 2022-06-17 11:57:57 +10:00
esp8266 all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
javascript all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
mimxrt mimxrt/machine_uart: Fix an inconsistency for UART.init() arg handling. 2022-06-07 18:21:46 +10:00
minimal ports: Use default VFS config for import_stat and builtin_open. 2022-05-25 13:04:45 +10:00
nrf nrf/modules/uos/microbitfs: Fix MICROPY_MBFS build to use mp_obj_malloc. 2022-06-11 21:09:58 +10:00
pic16bit pic16bit: Use 1 byte for qstr hash len and include header to fix build. 2022-06-07 16:55:18 +10:00
powerpc py/builtin: Clean up and simplify import_stat and builtin_open config. 2022-05-25 13:04:45 +10:00
qemu-arm all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
renesas-ra renesas-ra/machine_pin: Remove code for unsupported Pin features. 2022-06-03 10:57:48 +10:00
rp2 docs: Update Raspberry Pi URLs from .org to .com. 2022-06-14 11:41:13 +10:00
samd all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
stm32 stm32/mboot: Only include UI code if at least one board LED is defined. 2022-06-16 14:31:09 +10:00
teensy all: Remove third argument to MP_REGISTER_MODULE. 2022-06-02 16:31:37 +10:00
unix unix/variants: Enable seeding random module on import in dev, coverage. 2022-06-07 23:41:49 +10:00
windows unix,windows: Factor out code that generates random bytes to a new func. 2022-06-07 23:41:30 +10:00
zephyr zephyr/modusocket: Fix function object wrapper for listen method. 2022-06-15 11:38:09 +10:00