From 4f6a9571f3783f52eb00bd359f864ab05f62471a Mon Sep 17 00:00:00 2001 From: Alex Dolzhenkov Date: Mon, 5 Dec 2022 22:04:14 +1300 Subject: [PATCH] #1463 Replaced decimal numbers with hex --- gcc_nrf52-mcuboot.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc_nrf52-mcuboot.ld b/gcc_nrf52-mcuboot.ld index 8bee1de4..8337099e 100644 --- a/gcc_nrf52-mcuboot.ld +++ b/gcc_nrf52-mcuboot.ld @@ -23,8 +23,8 @@ GROUP(-lgcc -lc -lnosys) MCUBOOT_SIZE = 0x8000; SCRATCH_SIZE = 0x1000; SCRATCH_OFFSET = 0x7c000; -MCUBOOT_APP_IMAGE_HEADER_SIZE = 32; -MCUBOOT_APP_IMAGE_TRAILER_SIZE = 432; +MCUBOOT_APP_IMAGE_HEADER_SIZE = 0x20; +MCUBOOT_APP_IMAGE_TRAILER_SIZE = 0x1b0; 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;