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:
parent
20728c2528
commit
84ebd83a62
@ -1,3 +1,5 @@
|
||||
include $(RIOTCPU)/nrf52/Makefile.dep
|
||||
|
||||
ifneq (,$(filter skald,$(USEMODULE)))
|
||||
USEMODULE += nrfble
|
||||
endif
|
||||
|
@ -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]))
|
||||
/** @} */
|
||||
|
@ -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
|
||||
|
@ -1 +1,5 @@
|
||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.features
|
||||
|
||||
# Various other features (if any)
|
||||
FEATURES_PROVIDED += radio_nrf802154
|
||||
FEATURES_PROVIDED += periph_pwm
|
||||
|
Loading…
Reference in New Issue
Block a user