瀏覽代碼

修正链接脚本注释

shaoguoji 6 年之前
父節點
當前提交
8820d898c3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      bsp/stm32/stm32f401-st-nucleo/board/linker_scripts/link.lds

+ 2 - 2
bsp/stm32/stm32f401-st-nucleo/board/linker_scripts/link.lds

@@ -6,8 +6,8 @@
 /* Program Entry, set to mark it as "used" and avoid gc */
 MEMORY
 {
-    ROM (rx) : ORIGIN = 0x08000000, LENGTH = 512k /* 1024KB flash */
-    RAM (rw) : ORIGIN = 0x20000000, LENGTH =  96k /* 128K sram */
+    ROM (rx) : ORIGIN = 0x08000000, LENGTH = 512k /* 512KB flash */
+    RAM (rw) : ORIGIN = 0x20000000, LENGTH =  96k /* 96K sram */
 }
 ENTRY(Reset_Handler)
 _system_stack_size = 0x200;