Merge pull request #16065 from LordTy/NRF52840Dongle-SPI-support
boards/nrf52840dongle: Add spi feature and default pins
This commit is contained in:
commit
da780e7bfa
@ -14,6 +14,7 @@ config BOARD_NRF52840DONGLE
|
|||||||
select CPU_MODEL_NRF52840XXAA
|
select CPU_MODEL_NRF52840XXAA
|
||||||
select HAS_PERIPH_PWM
|
select HAS_PERIPH_PWM
|
||||||
select HAS_PERIPH_UART
|
select HAS_PERIPH_UART
|
||||||
|
select HAS_PERIPH_SPI
|
||||||
select HAS_PERIPH_USBDEV
|
select HAS_PERIPH_USBDEV
|
||||||
select HAS_HIGHLEVEL_STDIO
|
select HAS_HIGHLEVEL_STDIO
|
||||||
select HAS_VDD_LC_FILTER_REG0
|
select HAS_VDD_LC_FILTER_REG0
|
||||||
|
|||||||
@ -4,6 +4,7 @@ CPU_MODEL = nrf52840xxaa
|
|||||||
FEATURES_PROVIDED += periph_pwm
|
FEATURES_PROVIDED += periph_pwm
|
||||||
FEATURES_PROVIDED += periph_uart
|
FEATURES_PROVIDED += periph_uart
|
||||||
FEATURES_PROVIDED += periph_usbdev
|
FEATURES_PROVIDED += periph_usbdev
|
||||||
|
FEATURES_PROVIDED += periph_spi
|
||||||
FEATURES_PROVIDED += vdd_lc_filter_reg0
|
FEATURES_PROVIDED += vdd_lc_filter_reg0
|
||||||
FEATURES_PROVIDED += vdd_lc_filter_reg1
|
FEATURES_PROVIDED += vdd_lc_filter_reg1
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
#include "cfg_clock_32_1.h"
|
#include "cfg_clock_32_1.h"
|
||||||
#include "cfg_rtt_default.h"
|
#include "cfg_rtt_default.h"
|
||||||
#include "cfg_timer_default.h"
|
#include "cfg_timer_default.h"
|
||||||
|
#include "cfg_spi_default.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user