1 parent 306c921 commit 853e5fcCopy full SHA for 853e5fc
2 files changed
atmel-samd/boards/samd21x18-bootloader.ld
@@ -64,5 +64,13 @@ SECTIONS
64
_ebss = .;
65
} >RAM
66
67
+ /* this just checks there is enough RAM for a minimal stack */
68
+ .stack :
69
+ {
70
+ . = ALIGN(4);
71
+ . = . + 0x800; /* Reserve a minimum of 2K for the stack. */
72
73
+ } >RAM
74
+
75
.ARM.attributes 0 : { *(.ARM.attributes) }
76
}
atmel-samd/boards/samd21x18.ld
@@ -63,5 +63,13 @@ SECTIONS
63
0 commit comments