浏览代码

Merge pull request #281 from ralfak/patch-3

Update stm32_rom.ld
Bernard Xiong 11 年之前
父节点
当前提交
8c3f9b950e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      bsp/stm32f40x/stm32_rom.ld

+ 2 - 2
bsp/stm32f40x/stm32_rom.ld

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