forked from Archive/PX4-Autopilot
stm32h7:px4io_serial use TRBUFF
- includes NuttX with TRBUFF backports
This commit is contained in:
parent
25a27d26e0
commit
7c9903f610
|
@ -318,7 +318,8 @@ ArchPX4IOSerial::_bus_exchange(IOPacket *_packet)
|
||||||
DMA_SCR_PSIZE_8BITS |
|
DMA_SCR_PSIZE_8BITS |
|
||||||
DMA_SCR_MSIZE_8BITS |
|
DMA_SCR_MSIZE_8BITS |
|
||||||
DMA_SCR_PBURST_SINGLE |
|
DMA_SCR_PBURST_SINGLE |
|
||||||
DMA_SCR_MBURST_SINGLE);
|
DMA_SCR_MBURST_SINGLE |
|
||||||
|
DMA_SCR_TRBUFF);
|
||||||
rxdmacfg.cfg2 = 0;
|
rxdmacfg.cfg2 = 0;
|
||||||
|
|
||||||
|
|
||||||
|
@ -343,7 +344,8 @@ ArchPX4IOSerial::_bus_exchange(IOPacket *_packet)
|
||||||
DMA_SCR_PSIZE_8BITS |
|
DMA_SCR_PSIZE_8BITS |
|
||||||
DMA_SCR_MSIZE_8BITS |
|
DMA_SCR_MSIZE_8BITS |
|
||||||
DMA_SCR_PBURST_SINGLE |
|
DMA_SCR_PBURST_SINGLE |
|
||||||
DMA_SCR_MBURST_SINGLE);
|
DMA_SCR_MBURST_SINGLE |
|
||||||
|
DMA_SCR_TRBUFF);
|
||||||
txdmacfg.cfg2 = 0;
|
txdmacfg.cfg2 = 0;
|
||||||
|
|
||||||
stm32_dmasetup(_tx_dma, &txdmacfg);
|
stm32_dmasetup(_tx_dma, &txdmacfg);
|
||||||
|
|
Loading…
Reference in New Issue