-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DMA 3/8] Remove ChannelCreator types, temporarily disable burst mode (…
…#2403) * Remove ChannelCreator types and burst mode * Fix up I2sParallel * Always enable burst transfering descriptors * Configure burst transfer with a non-bool for future chip support * Reuse buffer preparation code * Update LoopBuf as well * Update lcd_cam tests * Rename config, fix changelog
- Loading branch information
Showing
48 changed files
with
498 additions
and
508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
# Migration Guide from 0.22.x to v1.0.0-beta.0 | ||
|
||
## DMA configuration changes | ||
|
||
- `configure_for_async` and `configure` have been removed | ||
- PDMA devices (ESP32, ESP32-S2) provide no configurability | ||
- GDMA devices provide `set_priority` to change DMA in/out channel priority | ||
|
||
```diff | ||
let mut spi = Spi::new_with_config( | ||
peripherals.SPI2, | ||
Config::default(), | ||
) | ||
// other setup | ||
-.with_dma(dma_channel.configure(false, DmaPriority::Priority0)); | ||
+.with_dma(dma_channel); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.