__DYNAMIC = 0;
MEMORY {
- flash : ORIGIN = 0x00860000, LENGTH = 0x20000 /* 128K */
- sram : ORIGIN = 0x10000000, LENGTH = 0x01000 /* 4K */
+ rom : ORIGIN = 0x00860000, LENGTH = 0x20000 /* 128K */
+ sram : ORIGIN = 0x10000000, LENGTH = 0x01000 /* 4K */
}
SECTIONS
_ftext = .;
*(.text .stub .text.* .gnu.linkonce.t.*)
_etext = .;
- } > flash
+ } > rom
.rodata :
{
*(.rodata .rodata.* .gnu.linkonce.r.*)
*(.rodata1)
_erodata = .;
- } > flash
+ } > rom
/* We shouldn't have a .data section, but the GNU crapchain whines if we don't */
.data :
_gp = ALIGN(16);
*(.sdata .sdata.* .gnu.linkonce.s.*)
_edata = .;
- } > flash
+ } > rom
.bss :
{