mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #11142 from bakeriogit/master
added SPI support for Nucleo-F767ZI
This commit is contained in:
commit
d89e19832c
@ -142,6 +142,16 @@ static const spi_conf_t spi_config[] = {
|
||||
.rccmask = RCC_APB2ENR_SPI1EN,
|
||||
.apbbus = APB2
|
||||
},
|
||||
{
|
||||
.dev = SPI4,
|
||||
.mosi_pin = GPIO_PIN(PORT_E, 6),
|
||||
.miso_pin = GPIO_PIN(PORT_E, 5),
|
||||
.sclk_pin = GPIO_PIN(PORT_E, 2),
|
||||
.cs_pin = GPIO_UNDEF,
|
||||
.af = GPIO_AF5,
|
||||
.rccmask = RCC_APB2ENR_SPI4EN,
|
||||
.apbbus = APB2
|
||||
}
|
||||
};
|
||||
|
||||
#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0]))
|
||||
|
Loading…
Reference in New Issue
Block a user