Skip to content

Commit 4a1a019

Browse files
Merge #209
209: Allow for skipping an ongoing DMA transfer if not using double buffering r=therealprof a=thalesfragoso This also fixes a problem that could happen when disabling the stream with an active transfer. The code is also updated to use the `embedded-dma` crate now. As draft because I didn't test it on hardware yet. Co-authored-by: Thales Fragoso <[email protected]>
2 parents 23c6ec9 + d06ed4d commit 4a1a019

File tree

5 files changed

+87
-274
lines changed

5 files changed

+87
-274
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1717
- [breaking-change] Changed sdio::{read, write}_block buf argument to &[u8; 512].
1818
- Voltage regulator overdrive is enabled where supported and required for selected HCLK.
1919
- I2C driver updated to detect and clear all error condition flags.
20+
- Allow for skipping an ongoing DMA transfer if not using double buffering.
21+
- Change DMA traits to `embedded-dma`.
2022

2123
### Added
2224

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ rand_core = "0.5.1"
3333
stm32f4 = "0.11"
3434
synopsys-usb-otg = { version = "0.2.0", features = ["cortex-m"], optional = true }
3535
sdio-host = { version = "0.5.0", optional = true }
36-
stable_deref_trait = { version = "1.2.0", default-features = false }
36+
embedded-dma = "0.1.0"
3737

3838
[dependencies.bare-metal]
3939
version = "0.2.5"

src/dma/buffer.rs

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

0 commit comments

Comments
 (0)