summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 98d4641651..066097aa83 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -19,6 +19,11 @@ TOOLSDIR = ../tools
19 19
20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} 20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}
21 21
22ifndef MEM
23 # if MEM is not set, assume 2MB
24 MEM=2
25endif
26
22ifdef DEBUG 27ifdef DEBUG
23CFLAGS += -g -DDEBUG 28CFLAGS += -g -DDEBUG
24else 29else