-
Notifications
You must be signed in to change notification settings - Fork 356
Description
(first of all, thanks for all the amazing progress with Rust support for the ESP32, it truly is amazing!)
I'm trying to build an ISP slave device using the ESP32, and of course I want to build it using Rust. However, it seems like there is no support fir this currently?
If I understand correctly, the SPI traits in embedded-hal is only for SPI master, and when slave traits will be added they will be separate and probably named spi_slave. ref: rust-embedded/embedded-hal#396. And as far as I understand, esp-hal is an implementation of embedded-hal?
It seems like the only way right now is to use Rust with the ESP IDF (e.g. using ), and then call the C functions (spi_slave_initialize, spi_slave_transmit, etc.) via the esp_idf_sys crate?
If my understanding is correct, than this is a feature request to add SPI slave support. In either case, any pointers or guidance would be much appreciated!
- ESP32 (Mode 1 and 3) ESP32 spi slave mode #2278
- ESP32-C2
- ESP32-C3
- ESP32-C6
- ESP32-H2
- ESP32-S2
- ESP32-S3