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:
parent
171a8bfe27
commit
41e73396e0
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user