mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
nrf52dk: Adapt SPI periph config
This commit is contained in:
parent
93acc998c4
commit
d15987bc9b
@ -34,10 +34,11 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
static const spi_conf_t spi_config[] = {
|
static const spi_conf_t spi_config[] = {
|
||||||
{
|
{
|
||||||
.dev = NRF_SPI0,
|
.dev = NRF_SPIM0,
|
||||||
.sclk = GPIO_PIN(0, 25),
|
.sclk = GPIO_PIN(0, 25),
|
||||||
.mosi = GPIO_PIN(0, 23),
|
.mosi = GPIO_PIN(0, 23),
|
||||||
.miso = GPIO_PIN(0, 24),
|
.miso = GPIO_PIN(0, 24),
|
||||||
|
.ppi = 0,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
#define SPI_NUMOF ARRAY_SIZE(spi_config)
|
#define SPI_NUMOF ARRAY_SIZE(spi_config)
|
||||||
|
Loading…
Reference in New Issue
Block a user