aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU/BootloaderAPITable.S
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-04-01 13:55:49 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-04-01 13:55:49 +0000
commit55b315b00f1fc86956ad14bc137922b2132888d0 (patch)
tree07b7dd8f40782d57f53bbcd1afe0e2a7384daa10 /Bootloaders/DFU/BootloaderAPITable.S
parent25ac76a2517a23510831fa8a849585747f04d688 (diff)
downloadlufa-55b315b00f1fc86956ad14bc137922b2132888d0.tar.gz
lufa-55b315b00f1fc86956ad14bc137922b2132888d0.tar.bz2
lufa-55b315b00f1fc86956ad14bc137922b2132888d0.zip
Clean up Bootloader API tables.
Diffstat (limited to 'Bootloaders/DFU/BootloaderAPITable.S')
-rw-r--r--Bootloaders/DFU/BootloaderAPITable.S13
1 files changed, 9 insertions, 4 deletions
diff --git a/Bootloaders/DFU/BootloaderAPITable.S b/Bootloaders/DFU/BootloaderAPITable.S
index a7d479a70..1ce125e21 100644
--- a/Bootloaders/DFU/BootloaderAPITable.S
+++ b/Bootloaders/DFU/BootloaderAPITable.S
@@ -30,9 +30,9 @@
; Bootloader API Jump Table
.section .apitable, "ax"
-.org 0
; API function jump table
+.org 0
.global BootloaderAPI_JumpTable
BootloaderAPI_JumpTable:
rjmp BootloaderAPI_ErasePage
@@ -42,11 +42,16 @@ BootloaderAPI_JumpTable:
rjmp BootloaderAPI_ReadFuse
rjmp BootloaderAPI_ReadLock
rjmp BootloaderAPI_WriteLock
+ nop ; UNUSED ENTRY
+ nop ; UNUSED ENTRY
+ nop ; UNUSED ENTRY
+ nop ; UNUSED ENTRY
+ ret
; Bootloader table signatures and information
-.org 24
+.org (32 - 8)
+BootloaderAPI_Signatures:
+.global BootloaderAPI_Signatures
.long BOOT_START_ADDR ; Start address of the bootloader
-.org 28
.word 0xDFB1 ; Signature for the DFU class bootloader, V1
-.org 30
.word 0xDCFB ; Signature for a LUFA class bootloader