esp-rs / esp-hal

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

I2C slave driver #1909

Open okhsunrog opened 3 months ago

okhsunrog commented 3 months ago

Are there any plans for I2C slave driver? I only found embassy example for I2C slave for rp2040 https://github.com/embassy-rs/embassy/blob/main/examples/rp/src/bin/i2c_slave.rs Checked the i2c driver in esp-hal and it seems like there isn't any slave driver.

jessebraham commented 3 months ago

While we would like to have this eventually, we have no plans to work on this feature at this point in time. Likely this will need to be a community contribution, but perhaps one of the maintainers will have time in the coming months if not.

If this feature generates enough interest we can definitely re-evaluate and prioritize this, but you are one of (if not the) the first people to ask :)

okhsunrog commented 3 months ago

Okay. Maybe I'll open a draft PR in the next month if I have free time 😅