introduce macros bigjmp and bigcall for intermodule calls/jmps
translates to rjmp/rcall on MCUs with up to 8K flash and to jmp/call on others.
This commit is contained in:
@@ -70,7 +70,8 @@ bootLoader_startFirmware:
|
||||
ldi r20, 4 ; on time
|
||||
ldi r21, 1 ; off time
|
||||
rcall bootLoaderBlinkLed
|
||||
rjmp firmwareStart
|
||||
bigjmp firmwareStart
|
||||
|
||||
bootLoader_waitAndRestartBootLoader:
|
||||
ldi r19, 3 ; loop count
|
||||
ldi r20, 1 ; on time
|
||||
|
||||
Reference in New Issue
Block a user