1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/msba2: update SPI configuration

This commit is contained in:
Benjamin Valentin 2020-01-31 09:22:24 +01:00
parent 3f01f4b183
commit 3ae7bb425b

View File

@ -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)
/** @} */