diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-14 10:09:45 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-14 10:09:45 +0000 |
commit | e8570c4a37e41117e3fd1e989e0b41f1e9608f3c (patch) | |
tree | 8aab63b2dd5fa938f7507c2938ca4be5f046b43b /Bootloaders/DFU/makefile | |
parent | a19dc3d20cd5c80adb80b1bd6f5126075911f411 (diff) | |
download | lufa-e8570c4a37e41117e3fd1e989e0b41f1e9608f3c.tar.gz lufa-e8570c4a37e41117e3fd1e989e0b41f1e9608f3c.tar.bz2 lufa-e8570c4a37e41117e3fd1e989e0b41f1e9608f3c.zip |
Fixed CDC and DFU bootloaders failing to compile when the bootloader section size is 8KB or more (thanks to Georg Glock).
Diffstat (limited to 'Bootloaders/DFU/makefile')
-rw-r--r-- | Bootloaders/DFU/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile index d23c53ab0..608564ebe 100644 --- a/Bootloaders/DFU/makefile +++ b/Bootloaders/DFU/makefile @@ -102,7 +102,7 @@ BOOT_SECTION_SIZE_KB = 4 # API jump table (for more information on the latter, see the bootloader documentation). These formulas # should not need to be altered - modify the FLASH_SIZE_KB and BOOT_SECTION_KB values above instead. BOOT_START = 0x$(shell echo "obase=16; ($(FLASH_SIZE_KB) - $(BOOT_SECTION_SIZE_KB)) * 1024" | bc) -BOOT_API_TABLESTART = 0x$(shell echo "obase=16; (($(FLASH_SIZE_KB) * 1024) - 32)" | bc) +BOOT_API_TABLESTART = 0x$(shell echo "obase=16; (($(FLASH_SIZE_KB) * 1024) - 96)" | bc) # Output format. (can be srec, ihex, binary) |