aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f1/libopencm3_stm32f1.ld
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-01-16 23:46:56 -0800
committerPiotr Esden-Tempski2012-02-11 22:24:41 -0800
commit1a3ad6e998e169f04317a942719f22e85363f0d9 (patch)
tree9260491840af00e25f1589ff0d95aca5130eed28 /lib/stm32/f1/libopencm3_stm32f1.ld
parent9532195e65edcec7d2f55dbb71f00bb18a04dac8 (diff)
Added the entry point definiton to all stm32 linker scripts. This allows gdb to reset the target correctly on exit.
Diffstat (limited to 'lib/stm32/f1/libopencm3_stm32f1.ld')
-rw-r--r--lib/stm32/f1/libopencm3_stm32f1.ld3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stm32/f1/libopencm3_stm32f1.ld b/lib/stm32/f1/libopencm3_stm32f1.ld
index 52a08f5..b9d98ec 100644
--- a/lib/stm32/f1/libopencm3_stm32f1.ld
+++ b/lib/stm32/f1/libopencm3_stm32f1.ld
@@ -24,6 +24,9 @@
/* Enforce emmition of the vector table. */
EXTERN (vector_table)
+/* Define the entry point of the output file. */
+ENTRY(reset_handler)
+
/* Define sections. */
SECTIONS
{