avr: make stack size configurable

This commit is contained in:
Ayke van Laethem
2018-11-20 18:20:24 +01:00
parent 760bc5d0a4
commit a96e2879b2
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@
"-nostartfiles",
"-mmcu=avr5",
"-Wl,--defsym=_bootloader_size=512",
"-Wl,--defsym=_stack_size=512",
"-T", "src/device/avr/atmega328p.ld",
"-T", "targets/avr.ld",
"-Wl,--gc-sections",
-2
View File
@@ -5,8 +5,6 @@ MEMORY
RAM (xrw) : ORIGIN = 0, LENGTH = __ram_size
}
_stack_size = 512;
SECTIONS
{
.text :