aboutsummaryrefslogtreecommitdiff
path: root/examples/mimxrt6/memory.x
blob: 6c4410f5714d5fdc10bd952110798fbbb687c567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
MEMORY {
        OTFAD    : ORIGIN = 0x08000000, LENGTH = 256
        FCB      : ORIGIN = 0x08000400, LENGTH = 512
        BIV      : ORIGIN = 0x08000600, LENGTH = 4
        KEYSTORE : ORIGIN = 0x08000800, LENGTH = 2K
        FLASH    : ORIGIN = 0x08001000, LENGTH = 1M
        RAM      : ORIGIN = 0x20080000, LENGTH = 1536K
}

SECTIONS {
        .otfad : {
                . = ALIGN(4);
                KEEP(* (.otfad))
                . = ALIGN(4);
        } > OTFAD

        .fcb : {
                . = ALIGN(4);
                KEEP(* (.fcb))
                . = ALIGN(4);
        } > FCB

        .biv : {
                . = ALIGN(4);
                KEEP(* (.biv))
                . = ALIGN(4);
        } > BIV

        .keystore : {
                . = ALIGN(4);
                KEEP(* (.keystore))
                . = ALIGN(4);
        } > KEYSTORE
}