X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/feabfd12ce3d14b43d2decb2b2f1c5b27e9d6181..86e6ed7f31d29fa3d2aea1f6c40aa4647fce2690:/Bootloaders/DFU/makefile diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index f3d5cfad8..40013ca0f 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -92,6 +92,10 @@ F_CPU = 8000000 F_CLOCK = 8000000 +# Starting byte address of the bootloader +BOOT_START = 0x1E000 + + # Output format. (can be srec, ihex, binary) FORMAT = ihex @@ -118,6 +122,7 @@ LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=32 LUFA_OPTS += -D USE_SINGLE_DEVICE_CONFIGURATION LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" LUFA_OPTS += -D USE_RAM_DESCRIPTORS +LUFA_OPTS += -D NO_INTERNAL_SERIAL # List C source files here. (C dependencies are automatically generated.) @@ -177,10 +182,6 @@ EXTRAINCDIRS = $(LUFA_PATH)/ CSTANDARD = -std=gnu99 -# Starting byte address of the bootloader -BOOT_START = 0x1E000 - - # Place -D or -U options here for C sources CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) CDEFS += -DBOOT_START_ADDR=$(BOOT_START)UL