fixes linker script

This commit is contained in:
Eyck Jentzsch 2025-02-28 19:41:57 +01:00
parent 141a4ed247
commit 428d3ac285

View File

@ -6,8 +6,8 @@ MEMORY
{ {
rom (rxai!w) : ORIGIN = 0xFFFFE000, LENGTH = 2k rom (rxai!w) : ORIGIN = 0xFFFFE000, LENGTH = 2k
flash (rxai!w) : ORIGIN = 0xE0000000, LENGTH = 16M flash (rxai!w) : ORIGIN = 0xE0000000, LENGTH = 16M
ram (wxa!ri) : ORIGIN = 0xC0000000, LENGTH = 128K ram (wxa!ri) : ORIGIN = 0xC0000000, LENGTH = 128K
dram (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 2G dram (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 2048M
} }
PHDRS PHDRS
@ -107,6 +107,11 @@ SECTIONS
KEEP (*(.dtors)) KEEP (*(.dtors))
} >flash AT>flash :flash } >flash AT>flash :flash
.dummy :
{
*(.comment.*)
}
.lalign : .lalign :
{ {
. = ALIGN(4); . = ALIGN(4);