summaryrefslogtreecommitdiff
path: root/ecos/packages/hal/cortexm/a2fxxx/a2f200_eval/current/include/pkgconf/mlt_cortexm_a2f200_eval_sram.ldi
blob: 299c603d2b5f2bab35a280d9ea8b65c6b627e10f (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
// eCos memory layout

#include <pkgconf/hal.h>
#include <cyg/infra/cyg_type.inc>

MEMORY
{
    sram  : ORIGIN = 0x20000000, LENGTH = 0x00010000-CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE
    flash : ORIGIN = 0x60000000, LENGTH = 0x00040000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_rom_vectors (sram, 0x20000400, LMA_EQ_VMA)
    SECTION_RELOCS (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_text (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_fini (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_rodata (sram, ALIGN(0x8), LMA_EQ_VMA)
    SECTION_rodata1 (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_fixup (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_gcc_except_table (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_eh_frame (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_got (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_data (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_bss (sram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_sram (sram, ALIGN (0x8), LMA_EQ_VMA)
    CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
    SECTIONS_END
}

hal_vsr_table = 0x20000000;
hal_virtual_vector_table = hal_vsr_table + 128*4;
hal_startup_stack = 0x20010000;