Explorar el Código

Merge pull request #281 from ralfak/patch-3

Update stm32_rom.ld
Bernard Xiong hace 11 años
padre
commit
8c3f9b950e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;