From e5f75d73da952e269a7af2115f7453837ed3f5f6 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 29 Sep 2019 17:34:18 +0930 Subject: [PATCH] Change default build to O2 This works for me and it makes the UI feel a little snappier (could be placebo, not sure if the UI is firmware or screen hardware limited). If I have a large number of local changes or custom images I find the firmware won't fit in memory with O3. I've made it O2 for now to save any future headaches from new features. --- opendps/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendps/Makefile b/opendps/Makefile index 44fd065e..dc69577f 100644 --- a/opendps/Makefile +++ b/opendps/Makefile @@ -53,7 +53,7 @@ CL_ENABLE ?= 1 FUNCGEN_ENABLE ?= 1 GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags) -CFLAGS = -I. -DGIT_VERSION=\"$(GIT_VERSION)\" -Wno-missing-braces +CFLAGS = -I. -DGIT_VERSION=\"$(GIT_VERSION)\" -Wno-missing-braces -O2 # Output voltage and current limit are persisted in flash, # this is the default setting