aboutsummaryrefslogtreecommitdiff
path: root/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2017-09-02 12:23:39 +0200
committerjaseg <git@jaseg.net>2017-09-02 12:23:39 +0200
commit9b52622eabdafa586cc912978f2de95dbf5d08e3 (patch)
tree14a22b3e4c47b0b813a8536cd9db706810bf4ac9 /fw/Makefile
parent446dbe6412be94324b3acac7afb7a730bdbd3ca6 (diff)
download7seg-9b52622eabdafa586cc912978f2de95dbf5d08e3.tar.gz
7seg-9b52622eabdafa586cc912978f2de95dbf5d08e3.tar.bz2
7seg-9b52622eabdafa586cc912978f2de95dbf5d08e3.zip
Temperature/VCC ADC working
Diffstat (limited to 'fw/Makefile')
-rw-r--r--fw/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/Makefile b/fw/Makefile
index 7990e80..a287ed3 100644
--- a/fw/Makefile
+++ b/fw/Makefile
@@ -11,13 +11,13 @@ OBJCOPY := arm-none-eabi-objcopy
OBJDUMP := arm-none-eabi-objdump
SIZE := arm-none-eabi-size
-CFLAGS = -g -Wall -std=gnu11 -O2 -fdump-rtl-expand -DBUS_ADDR=$(BUS_ADDR)
+CFLAGS = -g -Wall -std=gnu11 -O0 -fdump-rtl-expand -DBUS_ADDR=$(BUS_ADDR)
CFLAGS += -mlittle-endian -mcpu=cortex-m0 -march=armv6-m -mthumb
#CFLAGS += -ffunction-sections -fdata-sections
LDFLAGS = -nostartfiles
#LDFLAGS += -specs=rdimon.specs -DSEMIHOSTING
LDFLAGS += -Wl,-Map=main.map -nostdlib
-LDFLAGS += -Wl,--gc-sections
+#LDFLAGS += -Wl,--gc-sections
LIBS = -lgcc
#LIBS += -lrdimon