aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/nuevo_diskloader/Makefile
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-10-21 16:33:52 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-10-21 16:33:52 -0400
commit0f6498ae1dce530fe37c08e01324c391436ac77c (patch)
tree51bfedc776978e21771fce621d01ed7f9852d6d7 /bootloaders/nuevo_diskloader/Makefile
parent37c1c455eeff5100e7d9e8c1de5012f5445d5f4d (diff)
added more USB source adapted from sketch core. still not enumerating.
Diffstat (limited to 'bootloaders/nuevo_diskloader/Makefile')
-rw-r--r--bootloaders/nuevo_diskloader/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/bootloaders/nuevo_diskloader/Makefile b/bootloaders/nuevo_diskloader/Makefile
index 6ac3db3..cfd3425 100644
--- a/bootloaders/nuevo_diskloader/Makefile
+++ b/bootloaders/nuevo_diskloader/Makefile
@@ -40,8 +40,11 @@ ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2
## Linker flags
LDFLAGS = $(COMMON)
-LDFLAGS += -Wl,-gc-sections,-Map=DiskLoader.map,--section-start=.text=0x7800,--relax
-LDFLAGS += -nodefaultlibs -nostartfiles
+LDFLAGS += -Wl,-gc-sections,-Map=DiskLoader.map,--cref
+LDFLAGS += -Wl,--section-start=.text=0x7800,--relax
+LDFLAGS += -Wl,--gc-sections
+#LDFLAGS += -nodefaultlibs -nostartfiles
+#LDFLAGS += -nostartfiles
## Intel Hex file production flags
@@ -102,4 +105,4 @@ size: $(TARGET)
# @avr-size -C --mcu=${MCU} ${TARGET}.elf
program: $(TARGET).hex
- $(AVRDUDE) $(AVRDUDE_FLAGS) -B 5 -u -U flash:w:$(TARGET).hex \ No newline at end of file
+ $(AVRDUDE) $(AVRDUDE_FLAGS) -B 1 -u -U flash:w:$(TARGET).hex \ No newline at end of file