mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-29 02:28:35 +08:00
[bsp/nrf5x]修改默认配置nrf52833的flash和sram大小 (#10516)
This commit is contained in:
@@ -5,8 +5,8 @@ GROUP(-lgcc -lc -lnosys)
|
|||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x100000
|
FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x80000
|
||||||
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x40000
|
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x20000
|
||||||
}
|
}
|
||||||
|
|
||||||
ENTRY(Reset_Handler)
|
ENTRY(Reset_Handler)
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
; *** Scatter-Loading Description File generated by uVision ***
|
; *** Scatter-Loading Description File generated by uVision ***
|
||||||
; *************************************************************
|
; *************************************************************
|
||||||
|
|
||||||
LR_IROM1 0x00000000 0x100000 { ; load region size_region
|
LR_IROM1 0x00000000 0x80000 { ; load region size_region
|
||||||
ER_IROM1 0x00000000 0x100000 { ; load address = execution address
|
ER_IROM1 0x00000000 0x80000 { ; load address = execution address
|
||||||
*.o (RESET, +First)
|
*.o (RESET, +First)
|
||||||
*(InRoot$$Sections)
|
*(InRoot$$Sections)
|
||||||
.ANY (+RO)
|
.ANY (+RO)
|
||||||
}
|
}
|
||||||
RW_IRAM1 0x20000000 0x40000 { ; RW data
|
RW_IRAM1 0x20000000 0x20000 { ; RW data
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user