Browse Source

修正链接脚本注释

shaoguoji 6 years ago
parent
commit
8820d898c3
1 changed files with 2 additions and 2 deletions
  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 */
 /* Program Entry, set to mark it as "used" and avoid gc */
 MEMORY
 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)
 ENTRY(Reset_Handler)
 _system_stack_size = 0x200;
 _system_stack_size = 0x200;