summaryrefslogtreecommitdiff
path: root/firmware/ld/stm32f103c8t6.ld
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/ld/stm32f103c8t6.ld')
-rw-r--r--firmware/ld/stm32f103c8t6.ld9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/ld/stm32f103c8t6.ld b/firmware/ld/stm32f103c8t6.ld
new file mode 100644
index 0000000..db01550
--- /dev/null
+++ b/firmware/ld/stm32f103c8t6.ld
@@ -0,0 +1,9 @@
+
+MEMORY
+{
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
+}
+
+INCLUDE cortex-m-generic.ld
+