summaryrefslogtreecommitdiffstatshomepage
path: root/stm
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-05 14:34:17 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-05 14:34:17 +0000
commit12e2656472bf53e467c066eda6f3e177a97210ca (patch)
treead736accf91f0dc049bff2da2fc87b0ee782eabf /stm
parent823877bce03b5d3848a0d1a7302260dc95e7a9cd (diff)
downloadmicropython-12e2656472bf53e467c066eda6f3e177a97210ca.tar.gz
micropython-12e2656472bf53e467c066eda6f3e177a97210ca.zip
stm: allow more flash for the binary.
Diffstat (limited to 'stm')
-rw-r--r--stm/stm32f405.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/stm32f405.ld b/stm/stm32f405.ld
index 5dfa8c145d..c19e6a1c19 100644
--- a/stm/stm32f405.ld
+++ b/stm/stm32f405.ld
@@ -7,7 +7,7 @@ MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 0x100000 /* entire flash, 1 MiB */
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 0x004000 /* sector 0, 16 KiB */
- FLASH_TEXT (rx) : ORIGIN = 0x08020000, LENGTH = 0x020000 /* sector 5, 128 KiB */
+ FLASH_TEXT (rx) : ORIGIN = 0x08020000, LENGTH = 0x080000 /* sectors 5,6,7,8, 4*128KiB = 512 KiB (could increase it more) */
CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 0x010000 /* 64 KiB */
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 0x020000 /* 128 KiB */
}