Debian Codegraph @

ports/qemu/mcu/arm/mps2.ld

raw
1 /* This file is part of the MicroPython project, http://micropython.org/
2 * The MIT License (MIT)
3 * Copyright (c) 2018 Damien P. George
4 */
5
6 MEMORY
7 {
8 RAM : ORIGIN = 0x00000000, LENGTH = 4M
9 }
10
11 _estack = ORIGIN(RAM) + LENGTH(RAM);
12
13 SECTIONS
14 {
15 .text : {
16 . = ALIGN(4);
17 KEEP(*(.isr_vector))
18 *(.text*)
19 *(.rodata*)
20 . = ALIGN(4);
21 _etext = .;
22 _sidata = _etext;
23 } > RAM
24
25 .data : AT ( _sidata )
26 {
27 . = ALIGN(4);
28 _sdata = .;
29 *(.data*)
30 . = ALIGN(4);
31 _edata = .;
32 } >RAM
33
34 .bss :
35 {
36 . = ALIGN(4);
37 _sbss = .;
38 *(.bss*)
39 *(COMMON)
40 . = ALIGN(4);
41 _ebss = .;
42 } >RAM
43 }