From ff7160fd91209acdabe518086339fafa069f49d1 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Thu, 30 Nov 2017 16:39:56 +0100 Subject: [PATCH 1/2] examples: gnrc_minimal: optimize for NIB --- examples/gnrc_minimal/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index f7b0dbe5b6..06af0dca20 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -7,7 +7,7 @@ BOARD ?= native # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo32-f031 +BOARD_INSUFFICIENT_MEMORY := nucleo32-f031 # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the @@ -26,7 +26,8 @@ USEMODULE += gnrc_icmpv6_echo USEMODULE += prng_minstd CFLAGS += -DGNRC_PKTBUF_SIZE=512 -DGNRC_NETIF_IPV6_ADDRS_NUMOF=2 \ - -DGNRC_NETIF_IPV6_GROUPS_NUMOF=2 -DGNRC_IPV6_NC_SIZE=1 + -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 # Change this to 0 show compiler invocation lines by default: QUIET ?= 1 From 2b543dda894963e89c8876464c246f35929c3192 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Thu, 30 Nov 2017 17:59:03 +0100 Subject: [PATCH 2/2] tests: gnrc_sock_dns: optimize for NIB --- tests/gnrc_sock_dns/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gnrc_sock_dns/Makefile b/tests/gnrc_sock_dns/Makefile index 76ec76066a..32e284d4ad 100644 --- a/tests/gnrc_sock_dns/Makefile +++ b/tests/gnrc_sock_dns/Makefile @@ -23,7 +23,8 @@ LOW_MEMORY_BOARDS := nucleo-f334 msb-430 msb-430h ifeq ($(BOARD),$(filter $(BOARD),$(LOW_MEMORY_BOARDS))) CFLAGS += -DGNRC_PKTBUF_SIZE=512 -DGNRC_NETIF_IPV6_ADDRS_NUMOF=2 \ - -DGNRC_NETIF_IPV6_GROUPS_NUMOF=2 -DGNRC_IPV6_NC_SIZE=1 + -DGNRC_NETIF_IPV6_GROUPS_NUMOF=2 -DGNRC_IPV6_NIB_NUMOF=1 \ + -DNRC_IPV6_NIB_OFFL_NUMOF=1 endif include $(RIOTBASE)/Makefile.include