aboutsummaryrefslogtreecommitdiff
path: root/lib/libopenstm32.ld
diff options
context:
space:
mode:
authorUwe Hermann2009-07-25 00:05:06 +0200
committerUwe Hermann2009-07-25 00:05:06 +0200
commitcfd87f6b9df350bb16d796717178ed82551a9085 (patch)
treeca0b71f84a864ef6d2cdfcaf58141efb06d951b9 /lib/libopenstm32.ld
parent3f12e37531d86d17fb5b3b1e2711d9ff62e00742 (diff)
Add mini ld scripts in the example which include the global one.
Diffstat (limited to 'lib/libopenstm32.ld')
-rw-r--r--lib/libopenstm32.ld8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libopenstm32.ld b/lib/libopenstm32.ld
index 5f5e398..9ea3b17 100644
--- a/lib/libopenstm32.ld
+++ b/lib/libopenstm32.ld
@@ -19,13 +19,7 @@
/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */
-/* Define memory regions. */
-/* TODO: Make this overridable by the application code, it's MCU specific. */
-MEMORY
-{
- rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
-}
+/* Memory regions must be defined in the ld script which includes this one. */
/* Define sections. */
SECTIONS