Dario Nieuwenhuis
|
3c7375c6cd
|
stm32/bdma: do not clear IF on IRQ handler
|
2021-07-24 10:01:11 +02:00 |
|
Timo Kröger
|
43c4f24207
|
STM32 BDMA: Use interrupt flags instead of atomics
|
2021-07-24 09:26:07 +02:00 |
|
Timo Kröger
|
5a4a5ce334
|
STM32 DMA: Use interrupt flags instead of atomics
|
2021-07-24 09:26:07 +02:00 |
|
Bob McWhirter
|
b07325b476
|
Enable DMA for SPIv1 on F4's etc.
|
2021-07-23 13:22:39 -04:00 |
|
Bob McWhirter
|
a1dac21bdf
|
Make SPIv3 work with DMA.
Add both DMA and non-DMA example to H7.
|
2021-07-23 13:22:39 -04:00 |
|
Bob McWhirter
|
0d2051243e
|
SPIv2 + DMA.
|
2021-07-23 13:22:39 -04:00 |
|
Bob McWhirter
|
4c5a234a3a
|
Add a non-minc write() to DMA which takes a count.
Use it from "read-only" SPI.
|
2021-07-23 13:22:39 -04:00 |
|
Bob McWhirter
|
2d3137afc7
|
The async move portion of @thalesfragoso's i2c PR.
|
2021-07-20 11:38:16 -04:00 |
|
Thales Fragoso
|
aae0431d31
|
stm32: Clear possible set flags after disabling DMA
|
2021-07-17 16:59:35 -03:00 |
|
Dario Nieuwenhuis
|
36be877ba3
|
stm32/dma: only set TRBUFF in DMAv1 (H7)
|
2021-07-17 08:01:20 +02:00 |
|
Dario Nieuwenhuis
|
3655048e0f
|
stm32/dma: add MuxChannel trait to distinguish DMAMUX1 and DMAMUX2 channels.
|
2021-07-17 07:54:16 +02:00 |
|
Dario Nieuwenhuis
|
54b5012c56
|
stm32/dma: update codegen+macrotables for new stm32-data
|
2021-07-17 07:35:59 +02:00 |
|
Bob McWhirter
|
0119ea809d
|
Get DMA on H7 working, add usart_dma example for H7.
|
2021-07-16 14:41:20 -04:00 |
|
Dario Nieuwenhuis
|
ae948415a7
|
stm32/dma: disable after finishing
|
2021-07-16 14:41:20 -04:00 |
|
Dario Nieuwenhuis
|
63a0e188ea
|
stm32/dma: fix h7 impls
|
2021-07-16 14:41:20 -04:00 |
|
Dario Nieuwenhuis
|
3d1391ef2d
|
stm32/dma: impl all variants
|
2021-07-16 14:41:20 -04:00 |
|
Bob McWhirter
|
6552af8f0b
|
Fix warning for unused import.
|
2021-07-13 10:09:35 -04:00 |
|
Bob McWhirter
|
811ed18922
|
Add a missing 'use' for dma_v2.
|
2021-07-13 10:09:35 -04:00 |
|
Bob McWhirter
|
f01ddd5f5c
|
Mix dmamux into bdma_v1.
|
2021-07-13 10:09:35 -04:00 |
|
Bob McWhirter
|
54ada5bae1
|
Stub in the DMA bits that aren't yet there.
|
2021-07-01 11:30:54 -04:00 |
|
Thales Fragoso
|
e07dda8707
|
stm32: Adjust some fences around DMA
Also bump stm32-data
|
2021-06-30 18:58:21 -03:00 |
|
Bob McWhirter
|
f3b9c97763
|
Change atomics and add a fence.
|
2021-06-30 10:17:25 -04:00 |
|
Bob McWhirter
|
c53ab325c1
|
Wire up DMA with USART v1.
|
2021-06-29 11:01:57 -04:00 |
|
Bob McWhirter
|
b88fc2847a
|
Checkpoint with lifetime issues.
|
2021-06-29 11:01:57 -04:00 |
|
Dario Nieuwenhuis
|
e7dc5c0939
|
fmt: make all macros macro_rules so scoping is consistent.
|
2021-06-07 00:16:39 +02:00 |
|
Rukai
|
010b2b9497
|
Fix stm32 warnings
|
2021-06-06 00:46:20 +10:00 |
|
Bob McWhirter
|
b4dca64e20
|
Move most of DMA out of gen.py.
|
2021-06-03 14:53:48 -04:00 |
|
Dario Nieuwenhuis
|
d8e4421fc6
|
Add stm32-metapac crate, with codegen in rust
|
2021-05-31 02:40:58 +02:00 |
|
Ulf Lilleengen
|
03bfbe51f5
|
Create DMA fn to select peripheral based on channel number
|
2021-05-21 18:38:33 +02:00 |
|
Ulf Lilleengen
|
9fa5a2920f
|
Move regs trait implementation into generated pac
This allows handling devices that don't have DMA2
|
2021-05-21 18:38:33 +02:00 |
|
Lucas Kent
|
82f9242df2
|
Fix warnings for embassy-stm32 and embassy-stm32-examples
|
2021-05-20 22:25:12 +10:00 |
|
Dario Nieuwenhuis
|
f7858631d8
|
stm32: fix build, add ci
|
2021-05-17 03:16:58 +02:00 |
|
Dario Nieuwenhuis
|
2303364322
|
Standardize module structure, fix some build failures
|
2021-05-17 02:04:51 +02:00 |
|
Dario Nieuwenhuis
|
bdc3ada4b2
|
WIP: dma
|
2021-05-17 01:08:30 +02:00 |
|