1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/openmote-b/Makefile.dep
2020-10-23 15:31:52 +02:00

22 lines
609 B
Makefile

# ATM openwsn does not support the at86rf215 radio
ifneq (,$(filter openwsn,$(USEPKG)))
USEMODULE += cc2538_rf
endif
ifneq (,$(filter netdev_default,$(USEMODULE)))
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
endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
USEMODULE += si7006
endif