Skip to content
Snippets Groups Projects
Commit 26cf46cf authored by Oleg Hahm's avatar Oleg Hahm
Browse files

gnrc_minimal: remove workaround for native

The workaround for the pktbuf size is not longer needed, since native itself assures a big enough buffer.
Using a neighbor cache size of 1 is mandatory for all platforms when compiling pedantically.
parent 3f1c2e1f
No related branches found
No related tags found
No related merge requests found
...@@ -21,15 +21,7 @@ USEMODULE += gnrc_icmpv6_echo ...@@ -21,15 +21,7 @@ USEMODULE += gnrc_icmpv6_echo
# Use minimal standard PRNG # Use minimal standard PRNG
USEMODULE += prng_minstd USEMODULE += prng_minstd
CFLAGS += -DGNRC_IPV6_NETIF_ADDR_NUMOF=4 CFLAGS += -DGNRC_PKTBUF_SIZE=512 -DGNRC_IPV6_NETIF_ADDR_NUMOF=4 -DGNRC_IPV6_NC_SIZE=1
# Reduce sizes for GNRC's packet buffer and neighbor cache
# (for native we need a bigger buffer, because the tap driver temporarily
# allocates ~1500 bytes)
ifneq (,$(filter native,$(BOARD)))
CFLAGS += -DGNRC_PKTBUF_SIZE=2048 -DGNRC_IPV6_NC_SIZE=1
else
CFLAGS += -DGNRC_PKTBUF_SIZE=512 -DGNRC_IPV6_NC_SIZE=0
endif
# Change this to 0 show compiler invocation lines by default: # Change this to 0 show compiler invocation lines by default:
QUIET ?= 1 QUIET ?= 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment