From 1a3ad6e998e169f04317a942719f22e85363f0d9 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Mon, 16 Jan 2012 23:46:56 -0800 Subject: Added the entry point definiton to all stm32 linker scripts. This allows gdb to reset the target correctly on exit. --- lib/stm32/f1/libopencm3_stm32f1.ld | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/stm32/f1/libopencm3_stm32f1.ld') 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 { -- cgit v1.2.3