#1463 Replaced decimal numbers with hex

This commit is contained in:
Alex Dolzhenkov 2022-12-05 22:04:14 +13:00
parent a356113d0c
commit 4f6a9571f3

View file

@ -23,8 +23,8 @@ GROUP(-lgcc -lc -lnosys)
MCUBOOT_SIZE = 0x8000; MCUBOOT_SIZE = 0x8000;
SCRATCH_SIZE = 0x1000; SCRATCH_SIZE = 0x1000;
SCRATCH_OFFSET = 0x7c000; SCRATCH_OFFSET = 0x7c000;
MCUBOOT_APP_IMAGE_HEADER_SIZE = 32; MCUBOOT_APP_IMAGE_HEADER_SIZE = 0x20;
MCUBOOT_APP_IMAGE_TRAILER_SIZE = 432; MCUBOOT_APP_IMAGE_TRAILER_SIZE = 0x1b0;
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;