summaryrefslogtreecommitdiff
path: root/src/arch/stm32f446re-nucleo/stm32f446.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/stm32f446re-nucleo/stm32f446.ld')
-rw-r--r--src/arch/stm32f446re-nucleo/stm32f446.ld7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/stm32f446re-nucleo/stm32f446.ld b/src/arch/stm32f446re-nucleo/stm32f446.ld
new file mode 100644
index 0000000..d53b56e
--- /dev/null
+++ b/src/arch/stm32f446re-nucleo/stm32f446.ld
@@ -0,0 +1,7 @@
+MEMORY
+{
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
+}
+
+INCLUDE ext/libopencm3/lib/cortex-m-generic.ld