diff options
| author | ralfak <[email protected]> | 2014-05-22 20:56:40 +0800 |
|---|---|---|
| committer | ralfak <[email protected]> | 2014-05-22 20:56:40 +0800 |
| commit | aed251280ae453ba6072edd1b7f28f82c81bf2dd (patch) | |
| tree | 9b8dee36f90ebea80f791806b259a2f00c3eebab | |
| parent | 64516d6dc4f71b2cfb40d09471a171b8b8ee584b (diff) | |
Update stm32_rom.ld
| -rw-r--r-- | bsp/stm32f40x/stm32_rom.ld | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32f40x/stm32_rom.ld b/bsp/stm32f40x/stm32_rom.ld index 20c27f6f1a..bd2ef9fe44 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; |
