Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cc2420: Port cc2420 to netdev.802154 #1733

Closed
wants to merge 9 commits into from
2 changes: 1 addition & 1 deletion Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ifneq (,$(filter cc110x_legacy,$(USEMODULE)))
endif

ifneq (,$(filter cc2420,$(USEMODULE)))
USEMODULE += transceiver
USEMODULE += netdev_802154
USEMODULE += ieee802154
endif

Expand Down
6 changes: 4 additions & 2 deletions boards/telosb/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ export INCLUDES += -I$(RIOTCPU)/msp430-common/include -I$(RIOTBOARD)/$(BOARD)/in
export OFLAGS = -O ihex

ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
USEMODULE += cc2420
USEMODULE += transceiver
USEMODULE += cc2420
ifeq (,$(filter netdev_base,$(USEMODULE)))
USEMODULE += transceiver
endif
endif

export UNDEF += $(BINDIR)msp430_common/startup.o
6 changes: 4 additions & 2 deletions boards/wsn430-v1_4/Makefile.dep
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
USEMODULE += msp430_common

ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
USEMODULE += cc2420
USEMODULE += transceiver
USEMODULE += cc2420
ifeq (,$(filter netdev_base,$(USEMODULE)))
USEMODULE += transceiver
endif
endif
10 changes: 4 additions & 6 deletions boards/z1/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ export TERMFLAGS += -p "$(PORT)"
export INCLUDES += -I $(RIOTCPU)/msp430-common/include -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/drivers/cc2420/include -I$(RIOTBASE)/sys/net/include

ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
ifeq (,$(filter cc2240,$(USEMODULE)))
USEMODULE += cc2420
endif
ifeq (,$(filter transceiver,$(USEMODULE)))
USEMODULE += transceiver
endif
USEMODULE += cc2420
ifeq (,$(filter netdev_base,$(USEMODULE)))
USEMODULE += transceiver
endif
endif

export UNDEF += $(BINDIR)msp430_common/startup.o
Loading