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

boards/nucleo-f303re: Fixed/extended SPI conf

This commit is contained in:
Marian Buschsieweke 2018-08-15 12:03:32 +02:00
parent 171a8bfe27
commit 41e73396e0
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -177,7 +177,17 @@ static const spi_conf_t spi_config[] = {
.apbbus = APB2
},
{
.dev = SPI1,
.dev = SPI2,
.mosi_pin = GPIO_PIN(PORT_B, 15),
.miso_pin = GPIO_PIN(PORT_B, 14),
.sclk_pin = GPIO_PIN(PORT_B, 13),
.cs_pin = GPIO_PIN(PORT_B, 12),
.af = GPIO_AF5,
.rccmask = RCC_APB1ENR_SPI2EN,
.apbbus = APB1
},
{
.dev = SPI3,
.mosi_pin = GPIO_PIN(PORT_C, 12),
.miso_pin = GPIO_PIN(PORT_C, 11),
.sclk_pin = GPIO_PIN(PORT_C, 10),