12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- MEMORY
- {
- SPRAM (xrw) : ORIGIN = 0x00020000, LENGTH = DEFINED(SPRAM128K) ? 0x20000 : 0x10000
- BRAM (xrw) : ORIGIN = 0x00000010, LENGTH = 0x03f0
- }
- ENTRY(_start)
- SECTIONS {
- .text :
- {
- . = ALIGN(4);
- *(.text.start)
- *(.text)
- *(.text*)
- *(.rodata)
- *(.rodata*)
- *(.srodata)
- *(.srodata*)
- . = ALIGN(4);
- _etext = .;
- _sidata = _etext;
- } >SPRAM
- .data : AT ( _sidata )
- {
- . = ALIGN(4);
- _sdata = .;
- _ram_start = .;
- . = ALIGN(4);
- *(.data)
- *(.data*)
- *(.sdata)
- *(.sdata*)
- . = ALIGN(4);
- _edata = .;
- } >SPRAM
- .bss :
- {
- . = ALIGN(4);
- _sbss = .;
- *(.bss)
- *(.bss*)
- *(.sbss)
- *(.sbss*)
- *(COMMON)
- . = ALIGN(4);
- _ebss = .;
- } >SPRAM
- .heap :
- {
- . = ALIGN(4);
- _heap_start = .;
- } >SPRAM
- }
|