diff --git a/boards/adafruit-metro-m4-express/include/arduino_iomap.h b/boards/adafruit-metro-m4-express/include/arduino_iomap.h index c12257e23fc5..22cfec3beb56 100644 --- a/boards/adafruit-metro-m4-express/include/arduino_iomap.h +++ b/boards/adafruit-metro-m4-express/include/arduino_iomap.h @@ -100,14 +100,8 @@ extern "C" { /** * @brief SPI_DEV(1) is connected to D11/D12/D13 - * - * The SPI on D11/D12/D13 is only available when `periph_uart` is not used due - * to a conflicting use of the same SERCOM. If it is available, it is the last - * SPI bus. */ -#if !MODULE_PERIPH_UART -# define ARDUINO_SPI_D11D12D13 SPI_DEV(1) -#endif +#define ARDUINO_SPI_D11D12D13 SPI_DEV(1) /** @} */ /** diff --git a/boards/adafruit-metro-m4-express/include/periph_conf.h b/boards/adafruit-metro-m4-express/include/periph_conf.h index 0a40347d49bc..a3ab614040e2 100644 --- a/boards/adafruit-metro-m4-express/include/periph_conf.h +++ b/boards/adafruit-metro-m4-express/include/periph_conf.h @@ -169,7 +169,6 @@ static const spi_conf_t spi_config[] = { .rx_trigger = SERCOM2_DMAC_ID_RX, #endif }, -#if !MODULE_PERIPH_UART { /* D11=MOSI, D12=MISO, D13=SCK */ .dev = &(SERCOM3->SPI), .miso_pin = GPIO_PIN(PA, 17), /* C: SERCOM1.1, D: SERCOM3.0 */ @@ -181,12 +180,11 @@ static const spi_conf_t spi_config[] = { .miso_pad = SPI_PAD_MISO_0, .mosi_pad = SPI_PAD_MOSI_3_SCK_1, .gclk_src = SAM0_GCLK_PERIPH, -# if MODULE_PERIPH_DMA +#if MODULE_PERIPH_DMA .tx_trigger = SERCOM3_DMAC_ID_TX, .rx_trigger = SERCOM3_DMAC_ID_RX, -# endif - }, #endif + }, #if MODULE_PERIPH_SPI_ON_QSPI { /* QSPI in SPI mode */ .dev = QSPI,