1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cc2538/Makefile.dep
Leandro Lanzieri f0e7dfdf76
cpu/cc2538/radio: use driver specific legacy pseudomodule
This introduces the cc2538_rf_netdev_legacy pseudomodule that switches
to the netdev-based implementation of the cc2538 radio driver.
2021-03-10 14:18:12 +01:00

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