aboutsummaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorIan McIntyre <me@mciantyre.dev>2025-06-14 14:48:59 -0400
committerIan McIntyre <me@mciantyre.dev>2025-11-26 10:49:21 -0500
commit2fec327652c16c0352473f9a36152493630a7f57 (patch)
tree098a6168ec44231286dda73ebc423c8851a5df05 /src/host
parenteb47674359ea27cc5e7824a234067491ff01ab13 (diff)
Update cortex-m-rt to 0.7.5HEADmain
There's an unreleased commit upstream to support stack painting with custom memory layouts, like ours. I eagerly defined the _stack_end symbol. Tested on hardware.
Diffstat (limited to 'src/host')
-rw-r--r--src/host/imxrt-link.x6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/host/imxrt-link.x b/src/host/imxrt-link.x
index 7fcd76c..2a5deff 100644
--- a/src/host/imxrt-link.x
+++ b/src/host/imxrt-link.x
@@ -42,8 +42,9 @@ SECTIONS
__estack = .;
. += ALIGN(__stack_size, 8);
__sstack = .;
- /* Symbol expected by cortex-m-rt */
+ /* Symbols expected by cortex-m-rt */
_stack_start = __sstack;
+ _stack_end = __estack;
} > REGION_STACK
.vector_table : ALIGN(1024)
@@ -118,6 +119,9 @@ SECTIONS
} > REGION_DATA AT> REGION_LOAD_DATA
__sidata = LOADADDR(.data);
+ _ram_start = __sdata;
+ _ram_end = __edata;
+
.bss (NOLOAD) : ALIGN(4)
{
. = ALIGN(4);