2019-06-22 14:03:41 +01:00
|
|
|
/* Define output sections */
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
KEEP(*(.isr_vector))
|
|
|
|
*(.text)
|
|
|
|
*(.text*)
|
|
|
|
*(.rodata)
|
|
|
|
*(.rodata*)
|
|
|
|
. = ALIGN(4);
|
|
|
|
_etext = .;
|
|
|
|
} >FLASH
|
|
|
|
|
2021-07-22 07:18:54 +01:00
|
|
|
/* For C++ exception handling */
|
|
|
|
.ARM :
|
|
|
|
{
|
|
|
|
__exidx_start = .;
|
|
|
|
*(.ARM.exidx*)
|
|
|
|
__exidx_end = .;
|
|
|
|
} >FLASH
|
|
|
|
|
|
|
|
/* Used by the start-up code to initialise data */
|
|
|
|
_sidata = LOADADDR(.data);
|
|
|
|
|
|
|
|
.data :
|
2019-06-22 14:03:41 +01:00
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
_sdata = .;
|
|
|
|
*(.data)
|
|
|
|
*(.data*)
|
|
|
|
. = ALIGN(4);
|
|
|
|
_edata = .;
|
2021-07-22 07:18:54 +01:00
|
|
|
} >RAM AT> FLASH
|
2019-06-22 14:03:41 +01:00
|
|
|
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
. = ALIGN(4);
|
|
|
|
_sbss = .;
|
|
|
|
*(.bss)
|
|
|
|
*(.bss*)
|
|
|
|
*(COMMON)
|
|
|
|
. = ALIGN(4);
|
|
|
|
_ebss = .;
|
|
|
|
} >RAM
|
|
|
|
}
|