From 3ae7bb425bc4ef1a2d5a475e352f33d00c61ff1d Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 31 Jan 2020 09:22:24 +0100 Subject: [PATCH] boards/msba2: update SPI configuration --- boards/msba2/include/periph_conf.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/boards/msba2/include/periph_conf.h b/boards/msba2/include/periph_conf.h index f92c6144d9..ccac661023 100644 --- a/boards/msba2/include/periph_conf.h +++ b/boards/msba2/include/periph_conf.h @@ -113,11 +113,20 @@ static const uart_conf_t uart_config[] = { /** * @name SPI configuration - * - * The SPI implementation is very much fixed, so we don't need to configure - * anything besides the mandatory SPI_NUMOF. * @{ */ +static const spi_conf_t spi_config[] = { + { + .dev = SPI0, + .pinsel_mosi = 3, + .pinsel_miso = 3, + .pinsel_clk = 3, + .pinsel_msk_mosi = (BIT16 | BIT17), + .pinsel_msk_miso = (BIT14 | BIT15), + .pinsel_msk_clk = (BIT8 | BIT9), + }, +}; + #define SPI_NUMOF (1) /** @} */