diff options
Diffstat (limited to 'arch_max.ld')
-rw-r--r-- | arch_max.ld | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch_max.ld b/arch_max.ld new file mode 100644 index 0000000..f9e870a --- /dev/null +++ b/arch_max.ld @@ -0,0 +1,12 @@ +/* Linker script for STM32F407VET6, 512K flash, 192K RAM. */ + +/* Define memory regions. */ +MEMORY +{ + rom (rx) : ORIGIN = 0x08000000, LENGTH = 512K + ram (xrw) : ORIGIN = 0x20000000, LENGTH = 128K +} + +/* Include the common ld script. */ +INCLUDE libopencm3_stm32f4.ld + |