mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
11bb09b7f8
at86rf231 TX and RX driver is using vtimer instead of hwtimer_ functions, TO CHECK vtimer debug function prototype fix
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
ifneq (,$(findstring vtimer,$(USEMODULE)))
|
|
ifeq (,$(findstring hwtimer,$(USEMODULE)))
|
|
USEMODULE += hwtimer
|
|
endif
|
|
ifeq (,$(findstring timex,$(USEMODULE)))
|
|
USEMODULE += timex
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(findstring uart0,$(USEMODULE)))
|
|
ifeq (,$(findstring lib,$(USEMODULE)))
|
|
USEMODULE += lib
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(findstring cc110x,$(USEMODULE)))
|
|
ifeq (,$(findstring protocol_multiplex,$(USEMODULE)))
|
|
USEMODULE += protocol_multiplex
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
|
|
ifeq (,$(findstring transceiver,$(USEMODULE)))
|
|
USEMODULE += transceiver
|
|
endif
|
|
ifeq (,$(findstring hwtimer,$(USEMODULE)))
|
|
USEMODULE += hwtimer
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(findstring cc2420,$(USEMODULE)))
|
|
ifeq (,$(findstring transceiver,$(USEMODULE)))
|
|
USEMODULE += transceiver
|
|
USEMODULE += ieee802154
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(findstring at86rf231,$(USEMODULE)))
|
|
ifeq (,$(findstring transceiver,$(USEMODULE)))
|
|
USEMODULE += transceiver
|
|
USEMODULE += ieee802154
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(findstring sixlowpan,$(USEMODULE)))
|
|
ifeq (,$(findstring ieee802154,$(USEMODULE)))
|
|
USEMODULE += ieee802154
|
|
endif
|
|
endif
|