瀏覽代碼

Merge pull request #4452 from xupenghu/patch-1

[bsp][stm32wb55] Update link.sct
Bernard Xiong 4 年之前
父節點
當前提交
de1d079ece
共有 1 個文件被更改,包括 9 次插入4 次删除
  1. 9 4
      bsp/stm32/stm32wb55-st-nucleo/board/linker_scripts/link.sct

+ 9 - 4
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)
+  }
+  }