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 ac8d42b commit 34b14d8Copy full SHA for 34b14d8
cortex-m-rt/link.x.in
@@ -217,6 +217,12 @@ BUG(cortex-m-rt): .bss is not 4-byte aligned");
217
ASSERT(__sheap % 4 == 0, "
218
BUG(cortex-m-rt): start of .heap is not 4-byte aligned");
219
220
+ASSERT(_stack_start % 8 == 0, "
221
+ERROR(cortex-m-rt): stack start address is not 8-byte aligned.
222
+If you have set _stack_start, check it's set to an address which is a multiple of 8 bytes.
223
+If you haven't, stack starts at the end of RAM by default. Check that both RAM
224
+origin and length are set to multiples of 8 in the `memory.x` file.");
225
+
226
/* # Position checks */
227
228
/* ## .vector_table */
0 commit comments