Rename MCU
This commit is contained in:
parent
ed2925a961
commit
64a01bef05
75 changed files with 4 additions and 4 deletions
50
stm32f103t8u6-bootloader/ld/common.ld
Normal file
50
stm32f103t8u6-bootloader/ld/common.ld
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Unified Cortex Startup - GNU ld linker script file
|
||||
*
|
||||
* This file is in public domain
|
||||
*
|
||||
* Put together by Paul Sokolovsky based on article by Vanya Sergeev
|
||||
* http://dev.frozeneskimo.com/notes/cortex_cmsis/ , GNU ld documentation
|
||||
* and numerous other public resources.
|
||||
*
|
||||
*/
|
||||
|
||||
ENTRY(Reset_Handler)
|
||||
|
||||
SECTIONS {
|
||||
|
||||
.text :
|
||||
{
|
||||
KEEP(*(.vectors))
|
||||
KEEP(*(.cortex_vectors))
|
||||
KEEP(*(.vendor_vectors))
|
||||
*(.text*)
|
||||
*(.rodata*)
|
||||
_end_text = .;
|
||||
} >flash
|
||||
|
||||
_start_init_data = LOADADDR(.data);
|
||||
|
||||
.data :
|
||||
{
|
||||
_start_data = .;
|
||||
*(.data*)
|
||||
_end_data = .;
|
||||
} >sram AT >flash
|
||||
|
||||
.bss :
|
||||
{
|
||||
_start_bss = .;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
_end_bss = .;
|
||||
} >sram
|
||||
|
||||
. = ALIGN(4);
|
||||
|
||||
_start_stack = .;
|
||||
|
||||
PROVIDE(_end_stack = ORIGIN(sram) + LENGTH(sram));
|
||||
}
|
||||
|
||||
_end = .;
|
||||
Loading…
Add table
Add a link
Reference in a new issue