X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/feabfd12ce3d14b43d2decb2b2f1c5b27e9d6181..b462f2d457ec2f0cfa22a1c3db198cb22f6809a1:/Bootloaders/CDC/makefile?ds=inline diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile index fce2e5b88..0c977f807 100644 --- a/Bootloaders/CDC/makefile +++ b/Bootloaders/CDC/makefile @@ -48,7 +48,7 @@ # MCU name -MCU = at90usb1287 +MCU = at90usb647 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring @@ -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 @@ -117,6 +121,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.) @@ -176,10 +181,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