stm32h7:px4io_serial use TRBUFF

- includes NuttX with TRBUFF backports
This commit is contained in:
David Sidrane 2021-09-22 14:25:19 -07:00 committed by Daniel Agar
parent 25a27d26e0
commit 7c9903f610
1 changed files with 4 additions and 2 deletions

View File

@ -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);