We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4143c4d commit f324ceeCopy full SHA for f324cee
cortex-m-rt/link.x
@@ -49,8 +49,12 @@ SECTIONS
49
} > FLASH
50
51
/* limits of the .stack region */
52
- _sstack = ORIGIN(RAM);
53
_estack = _stack_start;
+ /* HACK the `true` case indicates that two RAM regions are being used and
54
+ /* that the stack was placed in the second region. In that case we don't know
55
+ /* the size of the second RAM region, or its start address, so we just assume
56
+ /* its zero sized */
57
+ _sstack = _stack_start < ORIGIN(RAM)? _stack_start : ORIGIN(RAM);
58
59
/* fictitious region that represents the memory available for the stack */
60
.stack _sstack (INFO) : ALIGN(4)
0 commit comments