potatis/nes-embedded/memory.x
Henrik Persson d328521df7 Pico
2023-02-19 21:28:04 +01:00

15 lines
No EOL
283 B
Text

MEMORY
{
BOOT_LOADER : ORIGIN = 0x10000000, LENGTH = 0x100
FLASH : ORIGIN = 0x10000100, LENGTH = 2048K - 0x100
RAM : ORIGIN = 0x20000000, LENGTH = 264K
}
SECTIONS {
.boot_loader ORIGIN(BOOT_LOADER) :
{
KEEP(*(.boot_loader*));
} > BOOT_LOADER
} INSERT BEFORE .text;