2024-04-05 17:04:19 +02:00
|
|
|
MEMORY {
|
|
|
|
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 1024
|
|
|
|
DRAM (rwx) : ORIGIN = 0x80000000, LENGTH = 1024
|
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
.text : {
|
2024-12-09 12:25:56 +01:00
|
|
|
*(.text)
|
2024-04-05 17:04:19 +02:00
|
|
|
*(.text)
|
2024-04-07 14:56:53 +02:00
|
|
|
. = ALIGN(4);
|
2024-04-05 17:10:35 +02:00
|
|
|
} > DRAM
|
2024-04-05 17:04:19 +02:00
|
|
|
.data : {
|
|
|
|
*(.data)
|
2024-04-07 14:56:53 +02:00
|
|
|
. = ALIGN(4);
|
2024-04-05 17:04:19 +02:00
|
|
|
} > DRAM AT > SRAM
|
|
|
|
.bss : {
|
|
|
|
*(.bss)
|
2024-04-07 14:56:53 +02:00
|
|
|
. = ALIGN(4);
|
2024-04-05 17:04:19 +02:00
|
|
|
} > DRAM
|
2024-04-06 21:20:45 +02:00
|
|
|
/DISCARD/ : {
|
|
|
|
*(.riscv.attributes)
|
|
|
|
}
|
2024-04-05 17:04:19 +02:00
|
|
|
}
|