Skip to content
Snippets Groups Projects
Commit 55b315b0 authored by Dean Camera's avatar Dean Camera
Browse files

Clean up Bootloader API tables.

parent 25ac76a2
No related branches found
No related tags found
No related merge requests found
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
; Bootloader API Jump Table ; Bootloader API Jump Table
.section .apitable, "ax" .section .apitable, "ax"
.org 0
; API function jump table ; API function jump table
.org 0
.global BootloaderAPI_JumpTable .global BootloaderAPI_JumpTable
BootloaderAPI_JumpTable: BootloaderAPI_JumpTable:
rjmp BootloaderAPI_ErasePage rjmp BootloaderAPI_ErasePage
...@@ -42,11 +42,16 @@ BootloaderAPI_JumpTable: ...@@ -42,11 +42,16 @@ BootloaderAPI_JumpTable:
rjmp BootloaderAPI_ReadFuse rjmp BootloaderAPI_ReadFuse
rjmp BootloaderAPI_ReadLock rjmp BootloaderAPI_ReadLock
rjmp BootloaderAPI_WriteLock rjmp BootloaderAPI_WriteLock
nop ; UNUSED ENTRY
nop ; UNUSED ENTRY
nop ; UNUSED ENTRY
nop ; UNUSED ENTRY
ret
; Bootloader table signatures and information ; Bootloader table signatures and information
.org 24 .org (32 - 8)
BootloaderAPI_Signatures:
.global BootloaderAPI_Signatures
.long BOOT_START_ADDR ; Start address of the bootloader .long BOOT_START_ADDR ; Start address of the bootloader
.org 28
.word 0xCDC1 ; Signature for the CDC class bootloader, V1 .word 0xCDC1 ; Signature for the CDC class bootloader, V1
.org 30
.word 0xDCFB ; Signature for a LUFA class bootloader .word 0xDCFB ; Signature for a LUFA class bootloader
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
; Bootloader API Jump Table ; Bootloader API Jump Table
.section .apitable, "ax" .section .apitable, "ax"
.org 0
; API function jump table ; API function jump table
.org 0
.global BootloaderAPI_JumpTable .global BootloaderAPI_JumpTable
BootloaderAPI_JumpTable: BootloaderAPI_JumpTable:
rjmp BootloaderAPI_ErasePage rjmp BootloaderAPI_ErasePage
...@@ -42,11 +42,16 @@ BootloaderAPI_JumpTable: ...@@ -42,11 +42,16 @@ BootloaderAPI_JumpTable:
rjmp BootloaderAPI_ReadFuse rjmp BootloaderAPI_ReadFuse
rjmp BootloaderAPI_ReadLock rjmp BootloaderAPI_ReadLock
rjmp BootloaderAPI_WriteLock rjmp BootloaderAPI_WriteLock
nop ; UNUSED ENTRY
nop ; UNUSED ENTRY
nop ; UNUSED ENTRY
nop ; UNUSED ENTRY
ret
; Bootloader table signatures and information ; Bootloader table signatures and information
.org 24 .org (32 - 8)
BootloaderAPI_Signatures:
.global BootloaderAPI_Signatures
.long BOOT_START_ADDR ; Start address of the bootloader .long BOOT_START_ADDR ; Start address of the bootloader
.org 28
.word 0xDFB1 ; Signature for the DFU class bootloader, V1 .word 0xDFB1 ; Signature for the DFU class bootloader, V1
.org 30
.word 0xDCFB ; Signature for a LUFA class bootloader .word 0xDCFB ; Signature for a LUFA class bootloader
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment