Merge pull request #740 from jepler/reboot-bootloader
atmel-samd: Fix rebooting to bootloader
This commit is contained in:
commit
5939497218
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -13,7 +13,7 @@ MEMORY
|
|||||||
/* top end of the stack */
|
/* top end of the stack */
|
||||||
/* stack must be double-word (8 byte) aligned */
|
/* stack must be double-word (8 byte) aligned */
|
||||||
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8;
|
||||||
_bootloader_dbl_tap = _estack;
|
_bootloader_dbl_tap = ORIGIN(RAM) + LENGTH(RAM) - 4;
|
||||||
|
|
||||||
/* define output sections */
|
/* define output sections */
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user