From 6a894997fc45c0f930a8d48a0fada644f1c30fda Mon Sep 17 00:00:00 2001 From: Laury Date: Tue, 3 May 2022 16:34:22 +0200 Subject: [PATCH] [flasher] Fixed compilation --- ion/src/device/shared/ram.ld | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ion/src/device/shared/ram.ld b/ion/src/device/shared/ram.ld index 6cf176697..ef027f3e0 100644 --- a/ion/src/device/shared/ram.ld +++ b/ion/src/device/shared/ram.ld @@ -22,7 +22,11 @@ MEMORY { * object). Using a stack too small would result in some memory being * overwritten (for instance, vtables that live in the .rodata section). */ -STACK_SIZE = 32K; +/* The image is quite large too! + * So we put the stack to 18K so there's still space + * for our image, if not LD will throw an error. */ + +STACK_SIZE = 18K; SECTIONS { .isr_vector_table ORIGIN(RAM_BUFFER) : {