esp-rs / esp-hal

no_std Hardware Abstraction Layers for ESP32 microcontrollers
https://docs.esp-rs.org/esp-hal/
Apache License 2.0
700 stars 191 forks source link

`I2C` is not working for the ESP32-C2 in release builds #213

Closed jessebraham closed 1 year ago

jessebraham commented 1 year ago

This was a known issue when support for this device was merged, but will need to be resolved before we're able to publish a release of esp32c2-hal.

bjoernQ commented 1 year ago

Our driver implementation assumes a FIFO size of 32 bytes but on ESP32-C2 it is 16. Just doing that however still doesn't get the SSD1306 example to work

To make that happen we need to change the driver to continuously fill / read the FIFO