From 2d76fec30d2e801e19be9e9601d8c52fd052896d Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 27 Feb 2023 00:00:16 +0100 Subject: [PATCH] examples/gnrc_border_router: add BLE as downlink option --- examples/gnrc_border_router/Makefile.board.dep | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/gnrc_border_router/Makefile.board.dep b/examples/gnrc_border_router/Makefile.board.dep index 12f755ceb4..4b1d06953a 100644 --- a/examples/gnrc_border_router/Makefile.board.dep +++ b/examples/gnrc_border_router/Makefile.board.dep @@ -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