2020-09-25 13:46:02 +02:00
|
|
|
# ATM openwsn does not support the at86rf215 radio
|
|
|
|
ifneq (,$(filter openwsn,$(USEPKG)))
|
|
|
|
USEMODULE += cc2538_rf
|
|
|
|
endif
|
|
|
|
|
2020-05-04 19:47:27 +02:00
|
|
|
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
2019-08-28 22:10:23 +02:00
|
|
|
ifeq (,$(filter cc2538_rf,$(USEMODULE)))
|
|
|
|
USEMODULE += at86rf215
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# at86rf215 is hard-wired to sub-GHz, but 2.4 GHz can be switched between
|
|
|
|
# at86rf215 and cc2538_rf. Use 2.4 GHz for cc2538_rf if both are used.
|
|
|
|
ifeq (at86rf215 cc2538_rf, $(filter at86rf215 cc2538_rf,$(USEMODULE)))
|
|
|
|
DISABLE_MODULE += at86rf215_24ghz
|
2020-03-06 14:17:19 +01:00
|
|
|
endif
|
|
|
|
|
2020-02-27 14:19:53 +01:00
|
|
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
|
|
|
USEMODULE += saul_gpio
|
|
|
|
USEMODULE += si7006
|
|
|
|
endif
|