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) 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) } }