1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-25 06:22:11 +03:00

added more USB source adapted from sketch core. still not enumerating.

This commit is contained in:
Zach Eveland
2011-10-21 16:33:52 -04:00
parent b86ce43044
commit bc669c14f8
9 changed files with 1251 additions and 94 deletions

View File

@ -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
$(AVRDUDE) $(AVRDUDE_FLAGS) -B 1 -u -U flash:w:$(TARGET).hex