add default linker file for flash
This commit is contained in:
@ -4,8 +4,10 @@ ENTRY( _start )
|
||||
|
||||
MEMORY
|
||||
{
|
||||
flash (rxai!w) : ORIGIN = 0x20000000, LENGTH = 512M
|
||||
ram (wxa!ri) : ORIGIN = 0x80000000, LENGTH = 128K
|
||||
rom (rxai!w) : ORIGIN = 0xFFFFE000, LENGTH = 4k
|
||||
flash (rxai!w) : ORIGIN = 0xE0000000, LENGTH = 4M
|
||||
ram (wxa!ri) : ORIGIN = 0x80000000, LENGTH = 32K
|
||||
dram (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 256M
|
||||
}
|
||||
|
||||
PHDRS
|
||||
@ -13,6 +15,7 @@ PHDRS
|
||||
flash PT_LOAD;
|
||||
ram_init PT_LOAD;
|
||||
ram PT_NULL;
|
||||
dram PT_NULL;
|
||||
}
|
||||
|
||||
SECTIONS
|
Reference in New Issue
Block a user