aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/stm32/f4discovery.ld
diff options
context:
space:
mode:
authorUwe Bonnes2013-01-17 20:05:25 +0100
committerUwe Bonnes2013-01-21 11:02:44 +0100
commit04624af4e50eb59c0be7a9e5e1ef42b968a2c200 (patch)
tree231b69f7e2ccdd938ade4fb101f4059d43173702 /src/platforms/stm32/f4discovery.ld
parente3736193745ad89e3dcb69a73f8906a4de41c4ca (diff)
f4discovery: Adapt from the "native" file and add or change code where needed
- stm32_mem.py has problems with erasing the big pages, but dfu-util works - serial GDB remote server doesn't work. It neither works for the STM32F107, so maybe there is a problem with the usbd_f107_driver.
Diffstat (limited to 'src/platforms/stm32/f4discovery.ld')
-rw-r--r--src/platforms/stm32/f4discovery.ld7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/platforms/stm32/f4discovery.ld b/src/platforms/stm32/f4discovery.ld
index b70739c..b066426 100644
--- a/src/platforms/stm32/f4discovery.ld
+++ b/src/platforms/stm32/f4discovery.ld
@@ -20,9 +20,10 @@
/* Define memory regions. */
MEMORY
{
- rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
}
/* Include the common ld script from libopenstm32. */
-INCLUDE libopencm3_stm32f1.ld
+INCLUDE libopencm3_stm32f4.ld
+