1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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.
This commit is contained in:
Martine S. Lenders 2020-05-12 16:15:02 +02:00
parent fcd36f7b77
commit 3cb746a587
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -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: