micropython/ports/stm32/boards/common_extratext_data_in_fl...

15 lines
340 B
Plaintext

/* 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