X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/feabfd12ce3d14b43d2decb2b2f1c5b27e9d6181..b462f2d457ec2f0cfa22a1c3db198cb22f6809a1:/Bootloaders/TeensyHID/makefile diff --git a/Bootloaders/TeensyHID/makefile b/Bootloaders/TeensyHID/makefile index ea528fb00..356d7380e 100644 --- a/Bootloaders/TeensyHID/makefile +++ b/Bootloaders/TeensyHID/makefile @@ -92,6 +92,10 @@ F_CPU = 16000000 F_CLOCK = 16000000 +# Starting byte address of the bootloader +BOOT_START = 0xC000 + + # Output format. (can be srec, ihex, binary) FORMAT = ihex @@ -118,6 +122,7 @@ LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8 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 = 0xC000 - - # 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