forked from Archive/PX4-Autopilot
Enable x7pro and nora spi4 DMA
This commit is contained in:
parent
c1da999748
commit
e30b8495b8
|
@ -41,7 +41,7 @@
|
|||
#define DMAMAP_UART8_TX DMAMAP_DMA12_UART8TX_0 /* DMA1:82 */
|
||||
|
||||
#define DMAMAP_SPI4_RX DMAMAP_DMA12_SPI4RX_0 /* DMA1:83 */
|
||||
#define DMAMAP_SPI4_TX DMAMAP_DMA12_SPI4RX_1 /* DMA1:84 */
|
||||
#define DMAMAP_SPI4_TX DMAMAP_DMA12_SPI4TX_0 /* DMA1:84 */
|
||||
|
||||
|
||||
// DMAMUX2 (BDMA)
|
||||
|
|
|
@ -182,6 +182,8 @@ CONFIG_STM32H7_SPI1_DMA=y
|
|||
CONFIG_STM32H7_SPI1_DMA_BUFFER=1024
|
||||
CONFIG_STM32H7_SPI2=y
|
||||
CONFIG_STM32H7_SPI4=y
|
||||
CONFIG_STM32H7_SPI4_DMA=y
|
||||
CONFIG_STM32H7_SPI4_DMA_BUFFER=1024
|
||||
CONFIG_STM32H7_SPI5=y
|
||||
CONFIG_STM32H7_SPI6=y
|
||||
CONFIG_STM32H7_SPI_DMA=y
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#define DMAMAP_UART8_TX DMAMAP_DMA12_UART8TX_0 /* DMA1:82 */
|
||||
|
||||
#define DMAMAP_SPI4_RX DMAMAP_DMA12_SPI4RX_0 /* DMA1:83 */
|
||||
#define DMAMAP_SPI4_TX DMAMAP_DMA12_SPI4RX_1 /* DMA1:84 */
|
||||
#define DMAMAP_SPI4_TX DMAMAP_DMA12_SPI4TX_0 /* DMA1:84 */
|
||||
|
||||
|
||||
// DMAMUX2 (BDMA)
|
||||
|
|
|
@ -182,6 +182,8 @@ CONFIG_STM32H7_SPI1_DMA=y
|
|||
CONFIG_STM32H7_SPI1_DMA_BUFFER=1024
|
||||
CONFIG_STM32H7_SPI2=y
|
||||
CONFIG_STM32H7_SPI4=y
|
||||
CONFIG_STM32H7_SPI4_DMA=y
|
||||
CONFIG_STM32H7_SPI4_DMA_BUFFER=1024
|
||||
CONFIG_STM32H7_SPI5=y
|
||||
CONFIG_STM32H7_SPI6=y
|
||||
CONFIG_STM32H7_SPI_DMA=y
|
||||
|
|
Loading…
Reference in New Issue