浏览代码

[stm32] fix linkscript issue in stm32f411-atk-nano

Bernard Xiong 4 年之前
父节点
当前提交
6609dfb516
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds

+ 2 - 2
bsp/stm32/stm32f411-atk-nano/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 = 256 /* 256KB flash */
-    RAM (rw) : ORIGIN = 0x20000000, LENGTH =  128k /* 128K sram */
+    ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256k /* 256KB flash */
+    RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128K sram */
 }
 }
 ENTRY(Reset_Handler)
 ENTRY(Reset_Handler)
 _system_stack_size = 0x200;
 _system_stack_size = 0x200;