Skip to content

Commit fce3a22

Browse files
committed
Merge pull request #1846 from thomaseichinger/at86rf23x
drivers/at86rf231: refactoring of the at86rf231 radio driver
2 parents bc37cbe + 9e2cfdc commit fce3a22

File tree

18 files changed

+1658
-144
lines changed

18 files changed

+1658
-144
lines changed

Makefile.dep

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@ ifneq (,$(filter cc2420,$(USEMODULE)))
7676
endif
7777

7878
ifneq (,$(filter at86rf231,$(USEMODULE)))
79-
USEMODULE += transceiver
79+
USEMODULE += netdev_802154
8080
USEMODULE += ieee802154
81-
USEMODULE += vtimer
8281
endif
8382

8483
ifneq (,$(filter vtimer,$(USEMODULE)))
@@ -95,6 +94,10 @@ ifneq (,$(filter ccn_lite,$(USEMODULE)))
9594
USEMODULE += crypto
9695
endif
9796

97+
ifneq (,$(filter netdev_802154,$(USEMODULE)))
98+
USEMODULE += netdev_base
99+
endif
100+
98101
ifneq (,$(filter rgbled,$(USEMODULE)))
99102
USEMODULE += color
100103
endif

boards/iot-lab_M3/Makefile.dep

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
22
USEMODULE += at86rf231
3-
USEMODULE += transceiver
3+
ifeq (,$(filter netdev_base,$(USEMODULE)))
4+
USEMODULE += transceiver
5+
endif
46
endif

drivers/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@ endif
5252
ifneq (,$(filter lps331ap,$(USEMODULE)))
5353
DIRS += lps331ap
5454
endif
55+
ifneq (,$(filter netdev_802154,$(USEMODULE)))
56+
DIRS += netdev/802154
57+
endif
5558

5659
include $(RIOTBASE)/Makefile.base

0 commit comments

Comments
 (0)