From a53d13f333e7faf0a2282c201b2e59b3c1df70ce Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Thu, 24 Oct 2019 14:00:09 +0200 Subject: [PATCH 1/3] examples/gnrc_minimal: disable logging --- examples/gnrc_minimal/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index 80c675ef282c..9cb3d75f4d73 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -23,6 +23,7 @@ USEMODULE += gnrc_icmpv6_echo # Use minimal standard PRNG USEMODULE += prng_minstd +CFLAGS += -DLOG_LEVEL=LOG_NONE # disable log output CFLAGS += -DGNRC_PKTBUF_SIZE=512 -DGNRC_NETIF_IPV6_ADDRS_NUMOF=2 \ -DGNRC_NETIF_IPV6_GROUPS_NUMOF=2 -DGNRC_IPV6_NIB_NUMOF=1 \ -DGNRC_IPV6_NIB_OFFL_NUMOF=1 # be able to configure at least one route From f7930002ff7609fe33ca9f638b91e9ed5cec4072 Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Thu, 24 Oct 2019 14:02:30 +0200 Subject: [PATCH 2/3] examples/minimal: deactivate DEVELHELP Having `DEVELHELP` activated for a *minimal* example seems counter-productive. --- examples/gnrc_minimal/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index 9cb3d75f4d73..300e6958c7a7 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -7,10 +7,10 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -# Comment this out to disable code in RIOT that does safety checking +# Set this to 1 to enable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: -DEVELHELP ?= 1 +DEVELHELP ?= 0 # Include packages that pull up and auto-init the link layer. # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present From 785922579034c5cb79dac9ce3d6b5bce8d5ba145 Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Thu, 24 Oct 2019 14:02:53 +0200 Subject: [PATCH 3/3] examples/minimal: reduce BOARD_INSUFFICIENT_MEMORY