aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders/DFU/makefile
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-04-14 10:09:45 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-04-14 10:09:45 +0000
commita3480ecdf39707d8d3b54f4c917b60a32394d594 (patch)
tree8aab63b2dd5fa938f7507c2938ca4be5f046b43b /Bootloaders/DFU/makefile
parentf2249d1b272aecb5a5e9e465c6951b98ba28305b (diff)
Fixed CDC and DFU bootloaders failing to compile when the bootloader section size is 8KB or more (thanks to Georg Glock).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2154 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders/DFU/makefile')
-rw-r--r--Bootloaders/DFU/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile
index d23c53ab..608564eb 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)