summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorXiaowei Swenson <[email protected]>2025-07-17 09:13:56 +0800
committerGitHub <[email protected]>2025-07-17 09:13:56 +0800
commit2d751009225fb28059391a46e2bd89348f5f4949 (patch)
tree436d86d930f5be422370b11fb5388652e5618055 /bsp
parent2cb69c8e08166b1ba2e23bbb00f3dab8c60e52ce (diff)
[bsp/nrf5x]修改默认配置nrf52833的flash和sram大小 (#10516)
Diffstat (limited to 'bsp')
-rw-r--r--bsp/nrf5x/nrf52833/board/linker_scripts/link.lds4
-rw-r--r--bsp/nrf5x/nrf52833/board/linker_scripts/link.sct6
2 files changed, 5 insertions, 5 deletions
diff --git a/bsp/nrf5x/nrf52833/board/linker_scripts/link.lds b/bsp/nrf5x/nrf52833/board/linker_scripts/link.lds
index e3fea7bd3a..ea8c5b5a63 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 a2f8ebd922..0899d567e1 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)
}
}