aboutsummaryrefslogtreecommitdiff
path: root/Bootloaders/CDC/makefile
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-06-29 04:55:44 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-06-29 04:55:44 +0000
commit3a26aedf1f1181b943c86e6d009d4735a4a21ced (patch)
tree7875fd14c88a300f36f37f784ec38c69a3a3697f /Bootloaders/CDC/makefile
parent05dd48fe92b9e5dd9168635c72a8c38ec6a08367 (diff)
Fixed CDC and DFU bootloaders API page erase and write function failures (thanks to Martin Lambert).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2377 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Bootloaders/CDC/makefile')
-rw-r--r--Bootloaders/CDC/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile
index 67be6df2..5ebd8b59 100644
--- a/Bootloaders/CDC/makefile
+++ b/Bootloaders/CDC/makefile
@@ -35,8 +35,8 @@ BOOT_SEC_OFFSET = 0x$(shell echo "obase=16; (($(FLASH_SIZE_KB) * 1024) - $
# Bootloader linker section flags for relocating the API table sections to
# known FLASH addresses - these should not normally be user-edited.
BOOT_SECTION_LD_FLAG = -Wl,--section-start=.apitable_$(strip $(1))=$(call BOOT_SEC_OFFSET, $(3)) -Wl,--undefined=BootloaderAPI_$(strip $(2))
-BOOT_API_LD_FLAGS = $(call BOOT_SECTION_LD_FLAG, trampolines, Trampolines, (48 + 32 + 8))
-BOOT_API_LD_FLAGS += $(call BOOT_SECTION_LD_FLAG, jumptable, JumpTable, (32 + 8))
+BOOT_API_LD_FLAGS = $(call BOOT_SECTION_LD_FLAG, trampolines, Trampolines, 96)
+BOOT_API_LD_FLAGS += $(call BOOT_SECTION_LD_FLAG, jumptable, JumpTable, 32)
BOOT_API_LD_FLAGS += $(call BOOT_SECTION_LD_FLAG, signatures, Signatures, 8)
# Default target