aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2014-10-21 20:58:29 +0100
committerDamien George2014-10-21 20:58:29 +0100
commitb1e217222eece0daa2c16f7d8835addfecf4f84b (patch)
tree3fbe68d47e13f81f49cfb3721f49bc9594ddcdb4
parenta3efe04dce9d5b4602b40414d3a23516ead85bc0 (diff)
parentabf0f07a5a48df90a44a7fc63c24fc7f5532233b (diff)
Merge pull request #922 from swegener/for-upstream
stmhal: Set entry point for ELF binary debugging
-rw-r--r--stmhal/stm32f405.ld4
1 files changed, 3 insertions, 1 deletions
diff --git a/stmhal/stm32f405.ld b/stmhal/stm32f405.ld
index 5af1d3299..5d9f0d2a9 100644
--- a/stmhal/stm32f405.ld
+++ b/stmhal/stm32f405.ld
@@ -11,7 +11,9 @@ MEMORY
CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 0x010000 /* 64 KiB */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x020000 /* 128 KiB */
}
-
+
+ENTRY(Reset_Handler)
+
/* produce a link error if there is not this amount of RAM for these sections */
_minimum_stack_size = 2K;
_minimum_heap_size = 16K;