boards/nrf52840-mdk: Use default SPI config

This commit is contained in:
Marian Buschsieweke 2019-04-11 09:35:16 +02:00
parent 3a92b79eea
commit 2e16256abe
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -23,6 +23,7 @@
#include "periph_cpu.h" #include "periph_cpu.h"
#include "cfg_clock_32_1.h" #include "cfg_clock_32_1.h"
#include "cfg_rtt_default.h" #include "cfg_rtt_default.h"
#include "cfg_spi_default.h"
#include "cfg_timer_default.h" #include "cfg_timer_default.h"
#ifdef __cplusplus #ifdef __cplusplus
@ -49,22 +50,6 @@ static const uart_conf_t uart_config[] = {
#define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0])) #define UART_NUMOF (sizeof(uart_config) / sizeof(uart_config[0]))
/** @} */ /** @} */
/**
* @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]))
/** @} */
/** /**
* @name I2C configuration * @name I2C configuration
* @{ * @{