forked from Archive/PX4-Autopilot
cuav_x7pro:Add support for DMA on SPI6
This commit is contained in:
parent
2745ffe946
commit
848b0ea88c
|
@ -45,5 +45,5 @@
|
|||
|
||||
|
||||
// DMAMUX2 (BDMA)
|
||||
#define DMAMAP_SPI6_RX DMAMAP_BDMA_SPI6_RX /* DMAMUX2:11 */
|
||||
#define DMAMAP_SPI6_TX DMAMAP_BDMA_SPI6_TX /* DMAMUX2:12 */
|
||||
#define DMAMAP_SPI6_RX DMAMAP_BDMA_SPI6_RX /* BDMA:11 */
|
||||
#define DMAMAP_SPI6_TX DMAMAP_BDMA_SPI6_TX /* BDMA:12 */
|
||||
|
|
|
@ -155,6 +155,7 @@ CONFIG_STDIO_BUFFER_SIZE=256
|
|||
CONFIG_STM32H7_ADC1=y
|
||||
CONFIG_STM32H7_BBSRAM=y
|
||||
CONFIG_STM32H7_BBSRAM_FILES=5
|
||||
CONFIG_STM32H7_BDMA=y
|
||||
CONFIG_STM32H7_BKPSRAM=y
|
||||
CONFIG_STM32H7_DMA1=y
|
||||
CONFIG_STM32H7_DMA2=y
|
||||
|
@ -184,7 +185,7 @@ CONFIG_STM32H7_SPI4=y
|
|||
CONFIG_STM32H7_SPI5=y
|
||||
CONFIG_STM32H7_SPI6=y
|
||||
CONFIG_STM32H7_SPI6_DMA=y
|
||||
CONFIG_STM32H7_SPI6_DMA_BUFFER=512
|
||||
CONFIG_STM32H7_SPI6_DMA_BUFFER=1024
|
||||
CONFIG_STM32H7_SPI_DMA=y
|
||||
CONFIG_STM32H7_SPI_DMATHRESHOLD=8
|
||||
CONFIG_STM32H7_TIM12=y
|
||||
|
|
|
@ -205,6 +205,13 @@ SECTIONS
|
|||
_ebss = ABSOLUTE(.);
|
||||
} > AXI_SRAM
|
||||
|
||||
/* Emit the the D3 power domain section for locating BDMA data */
|
||||
|
||||
.sram4 (NOLOAD) :
|
||||
{
|
||||
} > SRAM4
|
||||
|
||||
|
||||
/* Stabs debugging sections. */
|
||||
.stab 0 : { *(.stab) }
|
||||
.stabstr 0 : { *(.stabstr) }
|
||||
|
|
Loading…
Reference in New Issue