diff --git a/boards/nrf52832-mdk/include/periph_conf.h b/boards/nrf52832-mdk/include/periph_conf.h index c90ffd76ed..bd2ccdda75 100644 --- a/boards/nrf52832-mdk/include/periph_conf.h +++ b/boards/nrf52832-mdk/include/periph_conf.h @@ -23,6 +23,7 @@ #include "periph_cpu.h" #include "cfg_clock_32_1.h" #include "cfg_rtt_default.h" +#include "cfg_spi_default.h" #include "cfg_timer_default.h" #ifdef __cplusplus @@ -38,22 +39,6 @@ extern "C" { #define UART_PIN_TX GPIO_PIN(0,20) /** @} */ -/** - * @name SPI configuration - * @{ - */ -static const spi_conf_t spi_config[] = { - { - .dev = NRF_SPI0, - .sclk = 15, - .mosi = 13, - .miso = 14 - } -}; - -#define SPI_NUMOF (sizeof(spi_config) / sizeof(spi_config[0])) -/** @} */ - #ifdef __cplusplus } #endif