From 69dd791cbdb8ff8af1833fdf566dfebae08b6c9a Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 11 Sep 2020 14:25:44 +0200 Subject: [PATCH] examples/gnrc_minimal: use picolibc On `samr21-xpro` this saves 5624 bytes of ROM and 108 bytes of RAM. --- examples/gnrc_minimal/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index cb657e60b4..e6387276b2 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -26,6 +26,9 @@ USEMODULE += gnrc_icmpv6_echo # Use minimal standard PRNG USEMODULE += prng_minstd +# Use picolibc when available +FEATURES_OPTIONAL += picolibc + CFLAGS += -DLOG_LEVEL=LOG_NONE # disable log output # Set GNRC_PKTBUF_SIZE via CFLAGS if not being set via Kconfig. ifndef CONFIG_GNRC_PKTBUF_SIZE