mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +00:00
avr: make stack size configurable
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -5,8 +5,6 @@ MEMORY
|
||||
RAM (xrw) : ORIGIN = 0, LENGTH = __ram_size
|
||||
}
|
||||
|
||||
_stack_size = 512;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text :
|
||||
|
||||
Reference in New Issue
Block a user