diff --git a/examples/suit_update/Makefile b/examples/suit_update/Makefile index d649e86dc1..1b10091ad2 100644 --- a/examples/suit_update/Makefile +++ b/examples/suit_update/Makefile @@ -98,11 +98,17 @@ TEST_ON_CI_BLACKLIST = all include $(RIOTBASE)/Makefile.include +# allow to use large blocks to utilize large MTUs (802.15.4g, Ethernet, WiFi) +LARGE_BLOCKS ?= 0 +ifeq (1, $(LARGE_BLOCKS)) + CFLAGS += -DCONFIG_SUIT_COAP_BLOCKSIZE=COAP_BLOCKSIZE_1024 +else # lower pktbuf size to something sufficient for this application # Set GNRC_PKTBUF_SIZE via CFLAGS if not being set via Kconfig. ifndef CONFIG_GNRC_PKTBUF_SIZE CFLAGS += -DCONFIG_GNRC_PKTBUF_SIZE=2000 endif +endif .PHONY: host-tools