You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
592 B
38 lines
592 B
5 years ago
|
/* Define output sections */
|
||
|
SECTIONS
|
||
|
{
|
||
|
.text :
|
||
|
{
|
||
|
. = ALIGN(4);
|
||
|
KEEP(*(.isr_vector))
|
||
|
*(.text)
|
||
|
*(.text*)
|
||
|
*(.rodata)
|
||
|
*(.rodata*)
|
||
|
. = ALIGN(4);
|
||
|
_etext = .;
|
||
|
_sidata = _etext;
|
||
|
} >FLASH
|
||
|
|
||
|
.data : AT ( _sidata )
|
||
|
{
|
||
|
. = ALIGN(4);
|
||
|
_sdata = .;
|
||
|
*(.data)
|
||
|
*(.data*)
|
||
|
. = ALIGN(4);
|
||
|
_edata = .;
|
||
|
} >RAM
|
||
|
|
||
|
.bss :
|
||
|
{
|
||
|
. = ALIGN(4);
|
||
|
_sbss = .;
|
||
|
*(.bss)
|
||
|
*(.bss*)
|
||
|
*(COMMON)
|
||
|
. = ALIGN(4);
|
||
|
_ebss = .;
|
||
|
} >RAM
|
||
|
}
|