#1463 Fixed linker script syntax

This commit is contained in:
Alex Dolzhenkov 2022-12-04 08:14:10 +13:00
parent fe32af1ce9
commit a356113d0c

View file

@ -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
{ {