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

boards/nrf52832-mdk: Use default SPI config

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

View File

@ -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