aboutsummaryrefslogtreecommitdiff
path: root/examples/rp2040_local_i2c_init/memory.x
blob: 4077aab279a930a6aeb845e07e0a8feed2beb4bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
MEMORY {
    BOOT2 : ORIGIN = 0x10000000, LENGTH = 0x100
    FLASH : ORIGIN = 0x10000100, LENGTH = 2048K - 0x100
    RAM   : ORIGIN = 0x20000000, LENGTH = 256K
}

EXTERN(BOOT2_FIRMWARE)

SECTIONS {
    /* ### Boot loader */
    .boot2 ORIGIN(BOOT2) :
    {
        KEEP(*(.boot2));
    } > BOOT2
} INSERT BEFORE .text;