File tree Expand file tree Collapse file tree 2 files changed +531
-0
lines changed
Expand file tree Collapse file tree 2 files changed +531
-0
lines changed Original file line number Diff line number Diff line change 1+ include ../Makefile.tests_common
2+
3+ DISABLE_MODULE += auto_init_at86rf2xx auto_init_nrf802154
4+
5+ USEMODULE += od
6+ USEMODULE += luid
7+ USEMODULE += ieee802154
8+ USEMODULE += shell
9+ USEMODULE += ps
10+ USEMODULE += event_thread_highest
11+ USEMODULE += event_callback
12+ USEMODULE += xtimer
13+ USEMODULE += ieee802154_radio_hal
14+
15+ CFLAGS += -DEVENT_THREAD_HIGHEST_STACKSIZE=1024
16+
17+ NETDEV ?= 0
18+
19+ CFLAGS += -DNETDEV=$(NETDEV )
20+
21+ # define the driver to be used for selected boards
22+ ifneq (,$(filter samr21-xpro,$(BOARD ) ) )
23+ DRIVER := at86rf233
24+ endif
25+ ifneq (,$(filter iotlab-m3 fox,$(BOARD ) ) )
26+ DRIVER := at86rf231
27+ endif
28+ ifneq (,$(filter nrf52840dk,$(BOARD ) ) )
29+ DRIVER := nrf802154
30+ endif
31+ ifneq (,$(filter cc2538dk,$(BOARD ) ) )
32+ DRIVER := cc2538_rf
33+ endif
34+
35+ # use the at86rf231 as fallback device
36+ DRIVER ?= at86rf231
37+
38+ # include the selected driver
39+ USEMODULE += $(DRIVER )
40+
41+ include $(RIOTBASE ) /Makefile.include
You can’t perform that action at this time.
0 commit comments