Skip to content

Commit 9ed5acb

Browse files
bors[bot]rudib
andauthored
Merge #402
402: Added the missing DMA implementations for USART3 (rebased) r=therealprof a=burrbull Rebased #373 Co-authored-by: Rudi Benkovic <[email protected]>
2 parents 94b20d3 + 0ea9fa3 commit 9ed5acb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Added
1111

1212
- `Into<serial::Config>` for `Bps` [#387]
13+
- Added the missing DMA implementations for USART3 [#373]
1314
- `count_down` constructor for `Timer` -> `CountDownTimer` without start [#382]
1415
- Implementation of RTIC Monotonic for TIM2 & TIM5 under `rtic` feature [#380] [#390]
1516
- `IoPin` for `Output<OpenDrain>> <-> Input<Floating>>` [#374]
@@ -18,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1819
with `internal_pull_up` [#399]
1920

2021
[#390]: https://github.com/stm32-rs/stm32f4xx-hal/pull/390
22+
[#373]: https://github.com/stm32-rs/stm32f4xx-hal/pull/373
2123
[#382]: https://github.com/stm32-rs/stm32f4xx-hal/pull/382
2224
[#380]: https://github.com/stm32-rs/stm32f4xx-hal/pull/380
2325
[#374]: https://github.com/stm32-rs/stm32f4xx-hal/pull/374

src/dma/traits.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,11 @@ dma_map!(
754754
(Stream7<DMA2>, 7, DMAR<pac::TIM8>, MemoryToPeripheral), //TIM8_COM/TRIG
755755
(Stream7<DMA2>, 7, DMAR<pac::TIM8>, PeripheralToMemory), //TIM8_COM/TRIG
756756
(Stream1<DMA1>, 4, pac::USART3, PeripheralToMemory), //USART3_RX
757+
(Stream1<DMA1>, 4, serial::Rx<pac::USART3>, PeripheralToMemory), //USART3_RX
757758
(Stream3<DMA1>, 4, pac::USART3, MemoryToPeripheral), //USART3_TX
759+
(Stream3<DMA1>, 4, serial::Tx<pac::USART3>, MemoryToPeripheral), //USART3_TX
758760
(Stream4<DMA1>, 7, pac::USART3, MemoryToPeripheral), //USART3_TX:DMA_CHANNEL_7
761+
(Stream4<DMA1>, 7, serial::Tx<pac::USART3>, MemoryToPeripheral), //USART3_TX:DMA_CHANNEL_7
759762
);
760763

761764
#[cfg(any(

0 commit comments

Comments
 (0)