diff options
Diffstat (limited to 'stm32conf/lanchon-stm32/lanchon-stm32-128k-20k-rom.ld')
-rw-r--r-- | stm32conf/lanchon-stm32/lanchon-stm32-128k-20k-rom.ld | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/stm32conf/lanchon-stm32/lanchon-stm32-128k-20k-rom.ld b/stm32conf/lanchon-stm32/lanchon-stm32-128k-20k-rom.ld new file mode 100644 index 0000000..133a8b5 --- /dev/null +++ b/stm32conf/lanchon-stm32/lanchon-stm32-128k-20k-rom.ld @@ -0,0 +1,20 @@ +/* Linker script for STM32 (by Lanchon)
+ *
+ * Configure target memory and included script
+ * according to your application requirements. */
+
+/* Define memory spaces. */
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
+}
+
+/* Include the appropriate script.
+ * Options:
+ * lanchon-stm32-rom.ld
+ * lanchon-stm32-rom-hosted.ld
+ * lanchon-stm32-ram.ld
+ * lanchon-stm32-ram-hosted.ld
+ */
+INCLUDE "lanchon-stm32-rom.ld"
|