Skip to content

Commit 9595e6a

Browse files
Merge #490
490: I2s rework r=burrbull a=YruamaLairba Hi, I'm currently rewriting stm32_i2s crates, and i try to reflect my change and implement an example here in parallel for validation. I'm currently stuck on a requirement i have. Using I2s in slave mode require to read a pin in alternate mode and in a generic way. I don't know how to implement that, so i will open an issue for that. Co-authored-by: Yruama_Lairba <yruama_lairba@hotmail.com>
2 parents cb7cd4e + dc9f05f commit 9595e6a

File tree

8 files changed

+783
-456
lines changed

8 files changed

+783
-456
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Changed
11+
- use `stm32_i2s_v12x` version 0.3, reexport it, and implements requirement for it
12+
- i2s module don't reuse marker from spi module and define its own.
13+
- `i2s-audio-out` example updated and now use pcm5102 dac module instead one from discovery board.
14+
- extend visibility of gpio/marker to crate since i2s module require it.
15+
16+
### Added
17+
- example of using i2s in out with rtic and interrupt.
18+
19+
### Removed
20+
- `i2s-audio-out-dma.rs` example, too difficult to fix.
21+
1022
## [v0.13.2] - 2022-05-16
1123

1224
### Fixed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ version = "=1.0.0-alpha.7"
5656
package = "embedded-hal"
5757

5858
[dependencies.stm32_i2s_v12x]
59-
version = "0.2.0"
59+
version = "0.3.0"
6060
optional = true
6161

6262
[dev-dependencies]
@@ -419,8 +419,8 @@ name = "i2s-audio-out"
419419
required-features = ["stm32f411", "i2s"]
420420

421421
[[example]]
422-
name = "i2s-audio-out-dma"
423-
required-features = ["stm32f411", "i2s"]
422+
name = "i2s-rtic-audio-in-out"
423+
required-features = ["stm32f411", "i2s", "rtic"]
424424

425425
[[example]]
426426
name = "rtic"

examples/i2s-audio-out-dma.rs

Lines changed: 0 additions & 243 deletions
This file was deleted.

0 commit comments

Comments
 (0)