From edf9c9d32215a044124af229c498502a7a32f389 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 27 Feb 2017 23:24:22 +0100 Subject: [PATCH] Makefile: Optimize for size This gets the dfu image down from 19 to 11 kBytes, with is well within the 16kbyte limit for the DFU partition. --- firmware/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/Makefile b/firmware/Makefile index 340359a9..387e543f 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -125,7 +125,7 @@ DEBUG_PHONE_SNIFF?=0 #CFLAGS+=-DUSB_NO_DEBUG=1 # Optimization level, put in comment for debugging -OPTIMIZATION ?= -O0 +OPTIMIZATION ?= -Os