1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

can now enable interrupts but EORSTE or SOFE in USB_::attach() still cause bootloader to hang

This commit is contained in:
Zach Eveland
2011-10-21 16:51:25 -04:00
parent bc669c14f8
commit 2f46c2a6e6
4 changed files with 179 additions and 25 deletions

View File

@ -41,7 +41,7 @@ ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2
## Linker flags
LDFLAGS = $(COMMON)
LDFLAGS += -Wl,-gc-sections,-Map=DiskLoader.map,--cref
LDFLAGS += -Wl,--section-start=.text=0x7800,--relax
LDFLAGS += -Wl,--section-start=.text=0x7000,--relax
LDFLAGS += -Wl,--gc-sections
#LDFLAGS += -nodefaultlibs -nostartfiles
#LDFLAGS += -nostartfiles