1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:29:45 +01:00

examples/gnrc_border_router: add BLE as downlink option

This commit is contained in:
Benjamin Valentin 2023-02-27 00:00:16 +01:00
parent d4422a074a
commit 2d76fec30d

View File

@ -7,11 +7,16 @@ ifeq (,$(filter native,$(BOARD)))
else ifeq (wifi,$(UPLINK))
ifneq (,$(filter esp32 esp8266,$(CPU)))
USEMODULE += esp_wifi
USEMODULE += esp_now
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