From d2504f9fcc0b6120d86f3ce95590039d1ede3ba2 Mon Sep 17 00:00:00 2001 From: Xiaowei Swenson <48821243+ReviewSun@users.noreply.github.com> Date: Wed, 16 Jul 2025 23:11:54 +0800 Subject: [PATCH 1/2] Update link.lds --- bsp/nrf5x/nrf52833/board/linker_scripts/link.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/nrf5x/nrf52833/board/linker_scripts/link.lds b/bsp/nrf5x/nrf52833/board/linker_scripts/link.lds index e3fea7bd3a2..ea8c5b5a633 100644 --- a/bsp/nrf5x/nrf52833/board/linker_scripts/link.lds +++ b/bsp/nrf5x/nrf52833/board/linker_scripts/link.lds @@ -5,8 +5,8 @@ GROUP(-lgcc -lc -lnosys) MEMORY { - FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x100000 - RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x40000 + FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x80000 + RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x20000 } ENTRY(Reset_Handler) From e37b85bb5c5fc834ee6f8b228572cf9ed44c2d93 Mon Sep 17 00:00:00 2001 From: Xiaowei Swenson <48821243+ReviewSun@users.noreply.github.com> Date: Wed, 16 Jul 2025 23:12:25 +0800 Subject: [PATCH 2/2] Update link.sct --- bsp/nrf5x/nrf52833/board/linker_scripts/link.sct | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/nrf5x/nrf52833/board/linker_scripts/link.sct b/bsp/nrf5x/nrf52833/board/linker_scripts/link.sct index a2f8ebd922a..0899d567e12 100644 --- a/bsp/nrf5x/nrf52833/board/linker_scripts/link.sct +++ b/bsp/nrf5x/nrf52833/board/linker_scripts/link.sct @@ -2,13 +2,13 @@ ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* -LR_IROM1 0x00000000 0x100000 { ; load region size_region - ER_IROM1 0x00000000 0x100000 { ; load address = execution address +LR_IROM1 0x00000000 0x80000 { ; load region size_region + ER_IROM1 0x00000000 0x80000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } - RW_IRAM1 0x20000000 0x40000 { ; RW data + RW_IRAM1 0x20000000 0x20000 { ; RW data .ANY (+RW +ZI) } }