avr: cleanup, added labels to calculate module sizes.

This commit is contained in:
Martin Preuss
2023-04-08 18:18:19 +02:00
parent 4a915a3c85
commit 0f678d7d5a
21 changed files with 416 additions and 167 deletions

View File

@@ -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