mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
25 lines
608 B
Makefile
25 lines
608 B
Makefile
# Put board specific dependencies here
|
|
ifeq (,$(filter native,$(BOARD)))
|
|
ifeq (slip,$(UPLINK))
|
|
USEMODULE += slipdev_stdio
|
|
else ifeq (ethos,$(UPLINK))
|
|
USEMODULE += stdio_ethos
|
|
else ifeq (wifi,$(UPLINK))
|
|
ifneq (,$(filter esp32 esp8266,$(CPU)))
|
|
USEMODULE += esp_wifi
|
|
ifneq (ble, $(DOWNLINK))
|
|
USEMODULE += esp_now
|
|
endif
|
|
else
|
|
$(error Only esp32 and esp8266 are currently supported)
|
|
endif
|
|
endif
|
|
ifeq (ble, $(DOWNLINK))
|
|
USEMODULE += nimble_rpble
|
|
endif
|
|
else
|
|
USEMODULE += netdev_tap
|
|
USEMODULE += socket_zep
|
|
USEMODULE += socket_zep_hello
|
|
endif
|