1/* Vector table is at 0x00000000, entry point is 0x10000000. */ 2 3MEMORY 4{ 5 ROM : ORIGIN = 0x00000000, LENGTH = 96K 6 RAM : ORIGIN = 0x10000000, LENGTH = 128M 7} 8 9_estack = ORIGIN(RAM) + LENGTH(RAM); 10 11SECTIONS 12{ 13 .rom : { 14 . = ALIGN(4); 15 KEEP(*(.isr_vector)) 16 . = ALIGN(4); 17 } > ROM 18 19 .text : { 20 . = ALIGN(4); 21 *(.text.Reset_Handler) 22 *(.text*) 23 *(.rodata*) 24 . = ALIGN(4); 25 _etext = .; 26 _sidata = _etext; 27 } > RAM 28 29 .data : AT ( _sidata ) 30 { 31 . = ALIGN(4); 32 _sdata = .; 33 *(.data*) 34 . = ALIGN(4); 35 _edata = .; 36 } > RAM 37 38 .bss : 39 { 40 . = ALIGN(4); 41 _sbss = .; 42 *(.bss*) 43 *(COMMON) 44 . = ALIGN(4); 45 _ebss = .; 46 } > RAM 47} 48