|
|
@ -19,7 +19,7 @@ F_USB = $(F_CPU)
|
|
|
|
OPTIMIZATION = s
|
|
|
|
OPTIMIZATION = s
|
|
|
|
TARGET = BootloaderMassStorage
|
|
|
|
TARGET = BootloaderMassStorage
|
|
|
|
SRC = $(TARGET).c Descriptors.c BootloaderAPI.c BootloaderAPITable.S Lib/SCSI.c Lib/VirtualFAT.c $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS)
|
|
|
|
SRC = $(TARGET).c Descriptors.c BootloaderAPI.c BootloaderAPITable.S Lib/SCSI.c Lib/VirtualFAT.c $(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS)
|
|
|
|
LUFA_PATH = ../../../LUFA
|
|
|
|
LUFA_PATH = ../../LUFA
|
|
|
|
CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/ -DBOOT_START_ADDR=$(BOOT_START_OFFSET)
|
|
|
|
CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/ -DBOOT_START_ADDR=$(BOOT_START_OFFSET)
|
|
|
|
LD_FLAGS = -Wl,--section-start=.text=$(BOOT_START_OFFSET) $(BOOT_API_LD_FLAGS)
|
|
|
|
LD_FLAGS = -Wl,--section-start=.text=$(BOOT_START_OFFSET) $(BOOT_API_LD_FLAGS)
|
|
|
|
|
|
|
|
|