Skip to content

Commit 2d75100

Browse files
authored
[bsp/nrf5x]修改默认配置nrf52833的flash和sram大小 (#10516)
1 parent 2cb69c8 commit 2d75100

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bsp/nrf5x/nrf52833/board/linker_scripts/link.lds

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ GROUP(-lgcc -lc -lnosys)
55

66
MEMORY
77
{
8-
FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x100000
9-
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x40000
8+
FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x80000
9+
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x20000
1010
}
1111

1212
ENTRY(Reset_Handler)

bsp/nrf5x/nrf52833/board/linker_scripts/link.sct

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
; *** Scatter-Loading Description File generated by uVision ***
33
; *************************************************************
44

5-
LR_IROM1 0x00000000 0x100000 { ; load region size_region
6-
ER_IROM1 0x00000000 0x100000 { ; load address = execution address
5+
LR_IROM1 0x00000000 0x80000 { ; load region size_region
6+
ER_IROM1 0x00000000 0x80000 { ; load address = execution address
77
*.o (RESET, +First)
88
*(InRoot$$Sections)
99
.ANY (+RO)
1010
}
11-
RW_IRAM1 0x20000000 0x40000 { ; RW data
11+
RW_IRAM1 0x20000000 0x20000 { ; RW data
1212
.ANY (+RW +ZI)
1313
}
1414
}

0 commit comments

Comments
 (0)