From 2446d02e59137ca23f2a1e54db3d6070207da176 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Fri, 28 Feb 2020 13:34:41 -0500 Subject: [PATCH] Increase settings area to 2k (as per PR comments) --- src/linker/nrf52840_s140_v6.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linker/nrf52840_s140_v6.ld b/src/linker/nrf52840_s140_v6.ld index cbc2286..3358c98 100644 --- a/src/linker/nrf52840_s140_v6.ld +++ b/src/linker/nrf52840_s140_v6.ld @@ -11,9 +11,9 @@ MEMORY * those values do not match. The check is performed in main.c, see * APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START); */ - FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xFE000-0xF4000-1024 /* 39 KB */ + FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xFE000-0xF4000-2048 /* 38 KB */ - BOOTLOADER_CONFIG (r): ORIGIN = 0xFE000 - 1024, LENGTH = 1024 + BOOTLOADER_CONFIG (r): ORIGIN = 0xFE000 - 2048, LENGTH = 2048 /** Location of mbr params page in flash. */ MBR_PARAMS_PAGE (rw) : ORIGIN = 0xFE000, LENGTH = 0x1000