X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/blobdiff_plain/e59306aabda9c2b64ef68f8b4bdee9f5710912c1..aca630da48ef090c2a68cb6adfe906e6e036e05e:/firmware/Makefile diff --git a/firmware/Makefile b/firmware/Makefile index 04bec88..df886aa 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -19,7 +19,7 @@ include ../Makefile.inc # Remove the -fno-* options when you use gcc 3, it does not understand them CFLAGS = -Wall -Os -fno-move-loop-invariants -fno-tree-scev-cprop -fno-inline-small-functions -I. -mmcu=$(DEVICE) -DBOOTLOADER_ADDRESS=$(BOOTLOADER_ADDRESS) -DF_CPU=$(F_CPU) $(DEFINES) -LDFLAGS = -Wl,--relax,--gc-sections -Wl,--section-start=.text=$(BOOTLOADER_ADDRESS) +LDFLAGS = -Wl,--relax,--gc-sections -Wl,--section-start=.text=$(BOOTLOADER_ADDRESS) -Wl,--defsym=nullVector=0 OBJECTS = usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o