aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/boards/common_extratext_data_in_flash_text.ld
blob: 526d2519f7bff9901f8e71c590de8b1a3e00b463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* This linker script fragment is intended to be included in SECTIONS. */

/* Used by the start-up code to initialise data */
_sidata = LOADADDR(.data);

/* Initialised data section, start-up code will copy it from flash to RAM */
.data :
{
    . = ALIGN(4);
    _sdata = .;
    *(.data*)
    . = ALIGN(4);
    _edata = .;
} >RAM AT> FLASH_TEXT