Added ENTRY marker into the linker script to allow gdb to reset the stm32 properly when exiting.

This commit is contained in:
Piotr Esden-Tempski
2012-02-10 22:49:36 -08:00
parent 22b366dca8
commit f2fa4fb8da
2 changed files with 4 additions and 0 deletions
@@ -30,6 +30,8 @@ MEMORY
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
}
ENTRY(reset_handler_stage1);
/* User mode stack top */
_estack = 0x20005000;
@@ -30,6 +30,8 @@ MEMORY
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
}
ENTRY(reset_handler_stage1);
/* User mode stack top */
_estack = 0x20010000;