avr: cleanup, added labels to calculate module sizes.
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
.cseg
|
||||
|
||||
|
||||
FLASH_BEGIN:
|
||||
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
; start flashing a page
|
||||
;
|
||||
@@ -169,3 +172,10 @@ wait: ; wait for possibly previous SPM to complete
|
||||
out SPMCSR, r20
|
||||
spm
|
||||
ret
|
||||
|
||||
|
||||
FLASH_END:
|
||||
.equ MODULE_SIZE_FLASH = FLASH_END-FLASH_BEGIN
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user