From f836b288b019f58c0d0a7e2dcbf56972e42ce4f4 Mon Sep 17 00:00:00 2001
From: Vegard Storheil Eriksen <zyp@jvnv.net>
Date: Mon, 19 Nov 2012 19:17:24 +0100
Subject: Corrected flash size in F1 linker scripts.

---
 ld_scripts/stm32_f1_8.ld | 2 +-
 ld_scripts/stm32_f1_b.ld | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld_scripts/stm32_f1_8.ld b/ld_scripts/stm32_f1_8.ld
index 7fd5e59..246bdfc 100644
--- a/ld_scripts/stm32_f1_8.ld
+++ b/ld_scripts/stm32_f1_8.ld
@@ -1,5 +1,5 @@
 MEMORY {
-	flash (rx) : org = 0x08000000, len = 128k
+	flash (rx) : org = 0x08000000, len = 64k
 	ram (rwx)  : org = 0x20000000, len = 20k
 }
 
diff --git a/ld_scripts/stm32_f1_b.ld b/ld_scripts/stm32_f1_b.ld
index ea0b341..7fd5e59 100644
--- a/ld_scripts/stm32_f1_b.ld
+++ b/ld_scripts/stm32_f1_b.ld
@@ -1,5 +1,5 @@
 MEMORY {
-	flash (rx) : org = 0x08000000, len = 256k
+	flash (rx) : org = 0x08000000, len = 128k
 	ram (rwx)  : org = 0x20000000, len = 20k
 }
 
-- 
cgit v1.2.3