From 18fa9b83b814e4a9faa1a2576f56df6e8c9fe064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=99=E9=9D=99=E6=B5=81=E6=B7=8C=E7=9A=84=E6=9F=AF?= =?UTF-8?q?=E6=BA=AA?= Date: Sat, 13 Mar 2021 13:53:34 +0800 Subject: [PATCH] Update link.sct MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更改ram段分配,适配CPU2无线协议栈 --- .../board/linker_scripts/link.sct | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.sct b/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.sct index 27fcd9f6c7..e28a0c098a 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.sct +++ b/bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.sct @@ -2,14 +2,19 @@ ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* -LR_IROM1 0x08000000 0x00100000 { ; load region size_region - ER_IROM1 0x08000000 0x00100000 { ; load address = execution address +LR_IROM1 0x08000000 0x00080000 { ; load region size_region + ER_IROM1 0x08000000 0x00080000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } - RW_IRAM1 0x20000000 0x00030000 { ; RW data + RW_IRAM1 0x20000004 0x2FFFC { ; RW data .ANY (+RW +ZI) } -} + RW_RAM_SHARED 0x20030000 0x2800 { ; RW data + *(MAPPING_TABLE) + *(MB_MEM1) + *(MB_MEM2) + } + }