circuitpython/shared-module/adafruit_bus_device
Dan Halbert eff544c16c espressif: get new I2C driver working
- Starts with @tannewt's changes.
- Make sure proper component is being compiled.
- Added `I2C.probe()` as a visible new method. This was a hidden common-hal method, but the C version of adafruit_bus_device could not use it because it needs to call probe via a Python method call. So make it visible. It's useful, and `I2C.scan()` could be phased out, since now `.scan()` can be implemented in Python with `.probe()`.
- set clock-stretching timeout on espressif to a minimum of 1 second. In all impls of busio.I2C()`, the timeout is ignored and is set to a fixed 1 second. @tannewt's new code was using the passed-in value, which was often too short.

To do:
- switch esp-camera to new-driver version. We have to use the same I2C driver everywhere.
- Check about I2CTarget.
2024-09-20 17:48:17 -04:00
..
i2c_device espressif: get new I2C driver working 2024-09-20 17:48:17 -04:00
spi_device guard2once -s ... 2024-05-19 20:40:44 -04:00
__init__.c update headers of most CircuitPython-only files 2024-05-17 14:56:28 -04:00