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.
pr/spi.typo
Oleg Hahm 7 years ago
parent 3f1c2e1f1b
commit 26cf46cf70

@ -21,15 +21,7 @@ USEMODULE += gnrc_icmpv6_echo
# Use minimal standard PRNG
USEMODULE += prng_minstd
CFLAGS += -DGNRC_IPV6_NETIF_ADDR_NUMOF=4
# 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
CFLAGS += -DGNRC_PKTBUF_SIZE=512 -DGNRC_IPV6_NETIF_ADDR_NUMOF=4 -DGNRC_IPV6_NC_SIZE=1
# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1

Loading…
Cancel
Save