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

nrf52840dk: Adapt SPI periph config

This commit is contained in:
Koen Zandberg 2020-05-11 21:08:17 +02:00
parent f42a796c02
commit 93acc998c4
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -32,13 +32,13 @@ extern "C" {
*/
static const spi_conf_t spi_config[] = {
{
.dev = NRF_SPI0,
.dev = NRF_SPIM0,
.sclk = GPIO_PIN(1, 15),
.mosi = GPIO_PIN(1, 13),
.miso = GPIO_PIN(1, 14),
},
{
.dev = NRF_SPI1,
.dev = NRF_SPIM1,
.sclk = GPIO_PIN(0, 19),
.mosi = GPIO_PIN(0, 20),
.miso = GPIO_PIN(0, 21),