diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-03 21:49:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-03 21:49:36 +0000 |
commit | 43a3350981f74aaa7455798d287465265f9e19d8 (patch) | |
tree | c917865541465ca160f78e4d8639424b507268d8 /Bootloaders/DFU/BootloaderAPITable.S | |
parent | 3dacb73af33a48a481d3017fd0e625b5f87d9a73 (diff) | |
download | lufa-43a3350981f74aaa7455798d287465265f9e19d8.tar.gz lufa-43a3350981f74aaa7455798d287465265f9e19d8.tar.bz2 lufa-43a3350981f74aaa7455798d287465265f9e19d8.zip |
Add API support signature to the CDC and DFU class bootloaders, so that the application can detect the bootloader's API support.
Diffstat (limited to 'Bootloaders/DFU/BootloaderAPITable.S')
-rw-r--r-- | Bootloaders/DFU/BootloaderAPITable.S | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Bootloaders/DFU/BootloaderAPITable.S b/Bootloaders/DFU/BootloaderAPITable.S index 7f015f20a..b1d1b0571 100644 --- a/Bootloaders/DFU/BootloaderAPITable.S +++ b/Bootloaders/DFU/BootloaderAPITable.S @@ -32,12 +32,17 @@ .section .apitable, "ax" .org 0 +; API function jump table .global BootloaderAPI_JumpTable BootloaderAPI_JumpTable: - jmp BootloaderAPI_ErasePage - jmp BootloaderAPI_WritePage - jmp BootloaderAPI_FillWord - jmp BootloaderAPI_ReadSignature - jmp BootloaderAPI_ReadFuse - jmp BootloaderAPI_ReadLock - jmp BootloaderAPI_WriteLock + rjmp BootloaderAPI_ErasePage + rjmp BootloaderAPI_WritePage + rjmp BootloaderAPI_FillWord + rjmp BootloaderAPI_ReadSignature + rjmp BootloaderAPI_ReadFuse + rjmp BootloaderAPI_ReadLock + rjmp BootloaderAPI_WriteLock + +; Bootloader table signature +.org 30 + .word 0xDCFB |