Uncomment setting stack pointer to allow jumping into bootloader
This commit is contained in:
parent
3afda0ebf9
commit
b21673e326
@ -605,7 +605,7 @@ void startup() __attribute__((naked, section(".vectors")));
|
|||||||
void startup()
|
void startup()
|
||||||
{
|
{
|
||||||
asm volatile("clr __zero_reg__");
|
asm volatile("clr __zero_reg__");
|
||||||
// SP = RAMEND;
|
SP = RAMEND;
|
||||||
SREG = 0;
|
SREG = 0;
|
||||||
asm volatile("jmp main");
|
asm volatile("jmp main");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user