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
Benjamin Valentin f905108d8e boards/openmote-b: hook up at86rf215
Openmote-B includes an AT86RF215 radio. This adds support for it.
2020-03-19 14:39:18 +01:00

17 lines
509 B
Makefile

ifneq (,$(filter gnrc_netdev_default 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