summaryrefslogtreecommitdiffstats
path: root/firmware/Makefile
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2013-12-15 21:16:32 +0100
committercpldcpu <cpldcpu@gmail.com>2013-12-15 21:16:32 +0100
commitc6b12b287746ac950f4efcd1e5e872f5fe5acfe2 (patch)
tree5bb128f1e1b14bd61f991836de1514b1bf54004d /firmware/Makefile
parent7f1b5e11a801b4c6609870f79bbb93edab3292fd (diff)
downloadmicronucleus-c6b12b287746ac950f4efcd1e5e872f5fe5acfe2.tar.gz
micronucleus-c6b12b287746ac950f4efcd1e5e872f5fe5acfe2.tar.bz2
micronucleus-c6b12b287746ac950f4efcd1e5e872f5fe5acfe2.zip
clean up osccal
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 0905d0a..9da5be6 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -149,12 +149,12 @@ CC = avr-gcc
DEFINES = -DBOOTLOADER_ADDRESS=0x$(BOOTLOADER_ADDRESS) #-DDEBUG_LEVEL=2
# Remove the -fno-* options when you use gcc 3, it does not understand them
#
-CFLAGS = -g2 -nostartfiles -ffunction-sections -fdata-sections -fpack-struct -Wall -Os -fno-inline-small-functions -fno-move-loop-invariants -fno-tree-scev-cprop -I. -Ilibs-device -mmcu=$(DEVICE) -DF_CPU=$(F_CPU) $(DEFINES)
+CFLAGS = -g2 -nostartfiles -ffunction-sections -fdata-sections -fpack-struct -Wall -Os -fno-inline-small-functions -fno-move-loop-invariants -fno-tree-scev-cprop -I. -mmcu=$(DEVICE) -DF_CPU=$(F_CPU) $(DEFINES)
LDFLAGS = -Wl,--relax,--section-start=.text=$(BOOTLOADER_ADDRESS),-Map=main.map,--section-start=.zerotable=0
OBJECTS = crt1.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o
-OBJECTS += libs-device/osccalASM.o
+OBJECTS += osccalASM.o
# symbolic targets:
all: main.hex