Commit aafa688
committed
Sometimes an Arduino sketch needs to reset the MCU, but still wants to have some variables to be able to survive.
The bootloader itself uses very little RAM and excludes by default the last 4 bytes of RAM from use by the stack.
To allow sketches using a modified linker script to take the same approach, the changed bootloader linker script excludes the last 1 KByte of RAM from stack.1 parent efcc5c9 commit aafa688
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments