From 3cb746a587f90d58cf68fbc772f0072466723959 Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Tue, 12 May 2020 16:15:02 +0200 Subject: [PATCH] examples/emcute: set GNRC_NETIF_SINGLE The shell command offers no capability to parse the outgoing network interface in the gateway host, so link-local addresses are not usable with this example without this patch. --- examples/emcute_mqttsn/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/emcute_mqttsn/Makefile b/examples/emcute_mqttsn/Makefile index e5dcf9c65480..1796bc2aea54 100644 --- a/examples/emcute_mqttsn/Makefile +++ b/examples/emcute_mqttsn/Makefile @@ -28,6 +28,9 @@ ifneq (,$(EMCUTE_ID)) CFLAGS += -DEMCUTE_ID=\"$(EMCUTE_ID)\" endif +# Optimize network stack to for use with a single network interface +CFLAGS += -DGNRC_NETIF_SINGLE + # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: