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