mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-11-09 21:14:57 -07:00
30 lines
498 B
Plaintext
30 lines
498 B
Plaintext
ENTRY(_start)
|
|
|
|
MEMORY
|
|
{
|
|
ROM (rx) : ORIGIN = 0x00000000, LENGTH = 1024
|
|
RAM (rwx) : ORIGIN = 0x10000000, LENGTH = 512
|
|
/* FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 512 */
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
. = ALIGN(4);
|
|
_text = .;
|
|
*(.text*)
|
|
*(.rodata*)
|
|
_etext = .;
|
|
. = ALIGN(4);
|
|
} > ROM
|
|
|
|
.data :
|
|
{
|
|
. = ALIGN(4);
|
|
_data = .;
|
|
*(.data*)
|
|
_edata = .;
|
|
. = ALIGN(4);
|
|
} > RAM /*AT> FLASH*/
|
|
} |