diff options
Diffstat (limited to 'STM32F429ZIT6_HelloWorld/linker.ld')
-rw-r--r-- | STM32F429ZIT6_HelloWorld/linker.ld | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/STM32F429ZIT6_HelloWorld/linker.ld b/STM32F429ZIT6_HelloWorld/linker.ld new file mode 100644 index 0000000..c99ad1b --- /dev/null +++ b/STM32F429ZIT6_HelloWorld/linker.ld @@ -0,0 +1,65 @@ +ENTRY(reset_handler) +_estack = 0x200030800; + +MEMORY +{ + FLASH ( rw ) : ORIGIN = 0x08000000, LENGTH = 2048k + RAM ( rxw ) : ORIGIN = 0x20000000, LENGTH = 196k +} + +SECTIONS +{ + .vector_table : + { + . = ALIGN(4); + KEEP (*(.vector_table)) + . = ALIGN(4); + } >FLASH + + .text : + { + . = ALIGN(4); + *(.text) + *(.text*) + . = ALIGN(4); + } >FLASH + + .rodata : + { + . = ALIGN(4); + *(.rodata) + *(.rodata*) + . = ALIGN(4); + } >FLASH + + _sidata = .; + .data : AT(_sidata) + { + . = ALIGN(4); + _sdata = .; + *(.data) + *(.data*) + _edata = .; + . = ALIGN(4); + } >RAM + + .bss : + { + . = ALIGN(4); + _sbss = .; + *(.bss) + *(.bss*) + *(COMMON) + _ebss = .; + . = ALIGN(4); + } >RAM + + .dynamic_allocations : + { + . = ALIGN(4); + _ssystem_ram = .; + . = . + 0x400; + . = ALIGN(4); + _esystem_ram = .; + } >RAM +}
\ No newline at end of file |