| FLASH (rx) : ORIGIN = 0x10000000, LENGTH = 0x400000 /* 4MB */ |
| RAM(xrw) : ORIGIN = 0x00000000, LENGTH = 0x0400 /* 256 words (1 KB) */ |
| /* The program code and other data goes into FLASH */ |
| *(.text) /* .text sections (code) */ |
| *(.text*) /* .text* sections (code) */ |
| *(.rodata) /* .rodata sections (constants, strings, etc.) */ |
| *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ |
| *(.srodata) /* .srodata sections (constants, strings, etc.) */ |
| *(.srodata*) /* .srodata*sections (constants, strings, etc.) */ |
| _etext = .; /* define a global symbol at end of code */ |
| _sidata = _etext; /* This is used by the startup to initialize data */ |
| /* Initialized data section */ |
| /* Uninitialized data section */ |
| /* Define the start of the heap */ |