mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f0e7dfdf76
This introduces the cc2538_rf_netdev_legacy pseudomodule that switches to the netdev-based implementation of the cc2538 radio driver.
18 lines
441 B
Makefile
18 lines
441 B
Makefile
ifneq (,$(filter cc2538_rf,$(USEMODULE)))
|
|
ifneq (,$(filter cc2538_rf_netdev_legacy,$(USEMODULE)))
|
|
USEMODULE += netdev_ieee802154
|
|
else ifneq (,$(filter netdev,$(USEMODULE)))
|
|
USEMODULE += netdev_ieee802154_submac
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
|
USEMODULE += rtt_rtc
|
|
endif
|
|
|
|
ifneq (,$(filter periph_uart_nonblocking,$(USEMODULE)))
|
|
USEMODULE += tsrb
|
|
endif
|
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|