Skip to content

Commit

Permalink
ESP32-S2: Add SPI Slave support (#1562)
Browse files Browse the repository at this point in the history
* SPI Slave for ESP32 / ESP32-S2

* CHANGELOG.md

* Clippy...

* Revert ESP32 changes and keep ESP32-S2 only

* changelog

* review comments

---------

Co-authored-by: bjoernQ <bjoern.quentin@mobile-j.de>
  • Loading branch information
JurajSadel and bjoernQ authored May 22, 2024
1 parent 60d39e9 commit 76ed67a
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 243 deletions.
1 change: 1 addition & 0 deletions esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `time::current_time` API (#1503)
- ESP32-S3: Add LCD_CAM Camera driver (#1483)
- `embassy-usb` support (#1517)
- SPI Slave support for ESP32-S2 (#1562)

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion esp-hal/src/spi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use crate::dma::DmaError;

pub mod master;
#[cfg(all(any(spi0, spi1, spi2, spi3), not(pdma)))]
#[cfg(not(esp32))]
pub mod slave;

/// SPI errors
Expand Down
Loading

0 comments on commit 76ed67a

Please sign in to comment.