mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f905108d8e
Openmote-B includes an AT86RF215 radio. This adds support for it.
17 lines
509 B
Makefile
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
|