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

boards/nrf52840dk: support ieee802.15.4 radio

This commit is contained in:
Semjon Kerner 2019-03-04 13:20:46 +01:00
parent 20728c2528
commit 84ebd83a62
4 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,5 @@
include $(RIOTCPU)/nrf52/Makefile.dep
ifneq (,$(filter skald,$(USEMODULE)))
USEMODULE += nrfble
endif

View File

@ -36,10 +36,17 @@ static const timer_conf_t timer_config[] = {
.channels = 3,
.bitmode = TIMER_BITMODE_BITMODE_32Bit,
.irqn = TIMER1_IRQn
},
{
.dev = NRF_TIMER2,
.channels = 3,
.bitmode = TIMER_BITMODE_BITMODE_08Bit,
.irqn = TIMER2_IRQn
}
};
#define TIMER_0_ISR isr_timer1
#define TIMER_1_ISR isr_timer2
#define TIMER_NUMOF (sizeof(timer_config) / sizeof(timer_config[0]))
/** @} */

View File

@ -1 +1,7 @@
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
ifneq (,$(filter gnrc_netdev_default netdev_default,$(USEMODULE)))
ifeq (,$(filter nrfmin,$(USEMODULE)))
USEMODULE += nrf802154
endif
endif

View File

@ -1 +1,5 @@
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features
# Various other features (if any)
FEATURES_PROVIDED += radio_nrf802154
FEATURES_PROVIDED += periph_pwm