Skip to content

Commit f3b0f96

Browse files
committed
patch stm32_i2s with a preview version
Extension trait for SPI I2SEXT association + duali2s struct DulaI2S ctor and dtor dual i2s: access to ws pin and i2s clock macro to implment DualI2sPeripheral remove a clippy lint fix the dual_i2s macro and use it fix EXT_REGISTERS apply workaround for corrupted last bit of data fix an odd condition add rtic example with dual i2s driver replace Extension trait by DualInstance trait add DualI2sExt trait stm32_i2s v0.5.0 have been published require features for rtic-dual-i2s-audio-in-out example fix formatting disable DualI2s implmentation for 412/423 to workaround missing I2SEXT udpate CHANGELOG
1 parent 0e48d22 commit f3b0f96

File tree

5 files changed

+593
-9
lines changed

5 files changed

+593
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
- Integrate new version of stm32_i2s (v0.5) to enable full-duplex operation
10+
- Add a rtic example to show how to do full-duplex i2s
911

1012
### Changed
1113

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ version = "=1.0.0-alpha.8"
5757
package = "embedded-hal"
5858

5959
[dependencies.stm32_i2s_v12x]
60-
version = "0.4.0"
60+
version = "0.5.0"
6161
optional = true
6262

6363
[dev-dependencies]
@@ -414,6 +414,10 @@ required-features = ["stm32f411", "rtic"] # stm32f411
414414
name = "rtic-i2s-audio-in-out"
415415
required-features = ["stm32f411", "i2s", "rtic"]
416416

417+
[[example]]
418+
name = "rtic-dual-i2s-audio-in-out"
419+
required-features = ["stm32f411", "i2s", "rtic"]
420+
417421
[[example]]
418422
name = "rtic-serial-dma-rx-idle"
419423
required-features = ["stm32f411", "rtic"]

0 commit comments

Comments
 (0)