#1463 Fixed linker script syntax
This commit is contained in:
parent
fe32af1ce9
commit
a356113d0c
|
@ -21,12 +21,12 @@ SEARCH_DIR(.)
|
||||||
GROUP(-lgcc -lc -lnosys)
|
GROUP(-lgcc -lc -lnosys)
|
||||||
|
|
||||||
MCUBOOT_SIZE = 0x8000;
|
MCUBOOT_SIZE = 0x8000;
|
||||||
|
SCRATCH_SIZE = 0x1000;
|
||||||
|
SCRATCH_OFFSET = 0x7c000;
|
||||||
MCUBOOT_APP_IMAGE_HEADER_SIZE = 32;
|
MCUBOOT_APP_IMAGE_HEADER_SIZE = 32;
|
||||||
MCUBOOT_APP_IMAGE_TRAILER_SIZE = 432;
|
MCUBOOT_APP_IMAGE_TRAILER_SIZE = 432;
|
||||||
APP_OFFSET = MCUBOOT_SIZE + MCUBOOT_APP_IMAGE_HEADER_SIZE;
|
APP_OFFSET = MCUBOOT_SIZE + MCUBOOT_APP_IMAGE_HEADER_SIZE;
|
||||||
APP_SIZE = SCRATCH_OFFSET - MCUBOOT_SIZE - MCUBOOT_APP_IMAGE_HEADER_SIZE - MCUBOOT_APP_IMAGE_TRAILER_SIZE;
|
APP_SIZE = SCRATCH_OFFSET - MCUBOOT_SIZE - MCUBOOT_APP_IMAGE_HEADER_SIZE - MCUBOOT_APP_IMAGE_TRAILER_SIZE;
|
||||||
SCRATCH_OFFSET = 0x7c000;
|
|
||||||
SCRATCH_SIZE = 0x1000;
|
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue