X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/43a3350981f74aaa7455798d287465265f9e19d8..b04de2f2f4bb14c968ebcc765ec93c5d1591aa0d:/Bootloaders/DFU/BootloaderAPITable.S diff --git a/Bootloaders/DFU/BootloaderAPITable.S b/Bootloaders/DFU/BootloaderAPITable.S index b1d1b0571..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,7 +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 signature -.org 30 - .word 0xDCFB +; Bootloader table signatures and information +.org (32 - 8) +BootloaderAPI_Signatures: +.global BootloaderAPI_Signatures + .long BOOT_START_ADDR ; Start address of the bootloader + .word 0xDFB1 ; Signature for the DFU class bootloader, V1 + .word 0xDCFB ; Signature for a LUFA class bootloader