From 9b52622eabdafa586cc912978f2de95dbf5d08e3 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 2 Sep 2017 12:23:39 +0200 Subject: Temperature/VCC ADC working --- fw/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fw/Makefile') 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 -- cgit