Browse Source

!27 [stm32] fix linkscript issue in stm32f411-atk-nano
Merge pull request !27 from RT-Thread/gitee_fix

RT-Thread 4 years ago
parent
commit
c8211aa5c6
1 changed files with 2 additions and 2 deletions
  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;