1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

sensebox_samd21: add DMA triggers to spi config

This commit is contained in:
Koen Zandberg 2020-06-11 21:01:44 +02:00
parent 878a8e8c97
commit 8df94ecf18
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -173,6 +173,10 @@ static const spi_conf_t spi_config[] = {
.miso_pad = SPI_PAD_MISO_3,
.mosi_pad = SPI_PAD_MOSI_0_SCK_1,
.gclk_src = SAM0_GCLK_MAIN,
#ifdef MODULE_PERIPH_DMA
.tx_trigger = SERCOM1_DMAC_ID_TX,
.rx_trigger = SERCOM1_DMAC_ID_RX,
#endif
}
};