1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

boards/avsextrem: update SPI config

This commit is contained in:
Benjamin Valentin 2020-01-31 11:57:57 +01:00
parent 3ae7bb425b
commit 985d340621

View File

@ -65,7 +65,19 @@ static const uart_conf_t uart_config[] = {
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)
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)
/** @} */
#ifdef __cplusplus