aboutsummaryrefslogtreecommitdiff
path: root/linker
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-24 16:41:49 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-24 16:41:49 -0700
commitc29e0323020e0f96932d0f9b09747d5b2e28e5a6 (patch)
treec6100f1a4702d14548f5b82d72afb85340711a68 /linker
parent0c0f5c3d8397ba5168f0cd01b25ba70c238b36e0 (diff)
downloadstm32l4-c29e0323020e0f96932d0f9b09747d5b2e28e5a6.tar.gz
stm32l4-c29e0323020e0f96932d0f9b09747d5b2e28e5a6.tar.bz2
stm32l4-c29e0323020e0f96932d0f9b09747d5b2e28e5a6.zip
Changes to painic. It now prints the stack at the time of failure (if logging is initialized).
Diffstat (limited to 'linker')
-rw-r--r--linker/linker_script.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker_script.ld b/linker/linker_script.ld
index 909c8cb..8850182 100644
--- a/linker/linker_script.ld
+++ b/linker/linker_script.ld
@@ -54,7 +54,7 @@ SECTIONS
*(.noinit);
HEAP_START = .;
- HEAP_STOP = 16k;
+ HEAP_STOP = LENGTH(sram1);
} >sram1 AT>flash
BSS_START = .;