From aed251280ae453ba6072edd1b7f28f82c81bf2dd Mon Sep 17 00:00:00 2001 From: ralfak Date: Thu, 22 May 2014 20:56:40 +0800 Subject: [PATCH] Update stm32_rom.ld --- bsp/stm32f40x/stm32_rom.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/stm32f40x/stm32_rom.ld b/bsp/stm32f40x/stm32_rom.ld index 20c27f6f1..bd2ef9fe4 100644 --- a/bsp/stm32f40x/stm32_rom.ld +++ b/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; -- GitLab