Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
55b315b0
Commit
55b315b0
authored
Apr 01, 2012
by
Dean Camera
Browse files
Clean up Bootloader API tables.
parent
25ac76a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Bootloaders/CDC/BootloaderAPITable.S
View file @
55b315b0
...
...
@@ -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
0xCDC1
; Signature for the CDC class bootloader, V1
.
org
30
.
word
0xDCFB
; Signature for a LUFA class bootloader
Bootloaders/DFU/BootloaderAPITable.S
View file @
55b315b0
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment