refactor: IWDG driver and EM trigger (#3846)
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
|
||||
/* C/C++ Exception handling (not used) */
|
||||
.ARM.extab :
|
||||
{
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
} > FLASH
|
||||
|
||||
.ARM :
|
||||
{
|
||||
PROVIDE(__exidx_start = .);
|
||||
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
|
||||
PROVIDE(__exidx_end = .);
|
||||
} > FLASH
|
||||
|
||||
.reboot_buffer(NOLOAD) :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
*(.reboot*)
|
||||
} > REGION_DATA
|
||||
|
||||
/* Initialized data sections goes into RAM, load LMA copy after code */
|
||||
.data :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
_sdata = .; /* create a global symbol at data start */
|
||||
*(.data .data*) /* .data sections */
|
||||
. = ALIGN(4);
|
||||
_edata = .; /* define a global symbol at data end */
|
||||
} > REGION_DATA AT> FLASH
|
||||
|
||||
/* used by the startup to initialize data */
|
||||
_sidata = LOADADDR(.data);
|
||||
|
||||
/* Uninitialized data section */
|
||||
.bss(NOLOAD) :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
/* This is used by the startup in order to initialize the .bss secion */
|
||||
_sbss = .; /* define a global symbol at bss start */
|
||||
*(.bss .bss*)
|
||||
*(COMMON)
|
||||
. = ALIGN(4);
|
||||
_ebss = .; /* define a global symbol at bss end */
|
||||
} > REGION_BSS
|
||||
|
||||
/* collect all uninitialized .ram sections (force DMA accessible) */
|
||||
.ram (NOLOAD) :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
_sram = .;
|
||||
*(.ram)
|
||||
. = ALIGN(4);
|
||||
_eram = .;
|
||||
} > REGION_RAM
|
||||
|
||||
INCLUDE extra_sections.ld
|
||||
|
||||
/* Remove information from the standard libraries */
|
||||
/DISCARD/ :
|
||||
{
|
||||
libc.a ( * )
|
||||
libm.a ( * )
|
||||
libgcc.a ( * )
|
||||
}
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
Reference in New Issue
Block a user