summaryrefslogtreecommitdiff
path: root/ld_scripts/stm32_f303_c.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld_scripts/stm32_f303_c.ld')
-rw-r--r--ld_scripts/stm32_f303_c.ld7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld_scripts/stm32_f303_c.ld b/ld_scripts/stm32_f303_c.ld
new file mode 100644
index 0000000..4cc4894
--- /dev/null
+++ b/ld_scripts/stm32_f303_c.ld
@@ -0,0 +1,7 @@
+MEMORY {
+ flash (rx) : org = 0x08000000, len = 256k
+ ram (rwx) : org = 0x20000000, len = 40k
+ ccm (rwx) : org = 0x10000000, len = 8k
+}
+
+INCLUDE "arm_flash_ram.ld"