mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
Added ENTRY marker into the linker script to allow gdb to reset the stm32 properly when exiting.
This commit is contained in:
@@ -30,6 +30,8 @@ MEMORY
|
|||||||
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ENTRY(reset_handler_stage1);
|
||||||
|
|
||||||
/* User mode stack top */
|
/* User mode stack top */
|
||||||
_estack = 0x20005000;
|
_estack = 0x20005000;
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ MEMORY
|
|||||||
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
FLASHB1 (rx) : ORIGIN = 0x00000000, LENGTH = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ENTRY(reset_handler_stage1);
|
||||||
|
|
||||||
/* User mode stack top */
|
/* User mode stack top */
|
||||||
_estack = 0x20010000;
|
_estack = 0x20010000;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user