mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
stm32h7:px4io_serial use TRBUFF
- includes NuttX with TRBUFF backports
This commit is contained in:
committed by
Daniel Agar
parent
25a27d26e0
commit
7c9903f610
@@ -318,7 +318,8 @@ ArchPX4IOSerial::_bus_exchange(IOPacket *_packet)
|
||||
DMA_SCR_PSIZE_8BITS |
|
||||
DMA_SCR_MSIZE_8BITS |
|
||||
DMA_SCR_PBURST_SINGLE |
|
||||
DMA_SCR_MBURST_SINGLE);
|
||||
DMA_SCR_MBURST_SINGLE |
|
||||
DMA_SCR_TRBUFF);
|
||||
rxdmacfg.cfg2 = 0;
|
||||
|
||||
|
||||
@@ -343,7 +344,8 @@ ArchPX4IOSerial::_bus_exchange(IOPacket *_packet)
|
||||
DMA_SCR_PSIZE_8BITS |
|
||||
DMA_SCR_MSIZE_8BITS |
|
||||
DMA_SCR_PBURST_SINGLE |
|
||||
DMA_SCR_MBURST_SINGLE);
|
||||
DMA_SCR_MBURST_SINGLE |
|
||||
DMA_SCR_TRBUFF);
|
||||
txdmacfg.cfg2 = 0;
|
||||
|
||||
stm32_dmasetup(_tx_dma, &txdmacfg);
|
||||
|
||||
Reference in New Issue
Block a user