📄 flash.ld
字号:
MEMORY
{
flash : ORIGIN = 0x20000000, LENGTH = 0x00050000
ram : ORIGIN = 0x20050000, LENGTH = 0x400000
}
__stack_end__ = 0x00200000 + 0x00001000 - 4;
SECTIONS
{
. = 0;
startup :
{
*(.startup)
} >flash
prog :
{
*(.text)
*(.rodata)
*(.rodata*)
*(.glue_7)
*(.glue_7t)
} >flash
__end_of_text__ = .;
.data :
{
__data_beg__ = .;
__data_beg_src__ = __end_of_text__;
*(.data)
__data_end__ = .;
} >flash AT>flash
.bss :
{
__bss_beg__ = .;
*(.bss)
} >flash
/* Align here to ensure that the .bss section occupies space up to
_end. Align after .bss to ensure correct alignment even if the
.bss section disappears because there are no input sections. */
. = ALIGN(32 / 8);
}
. = ALIGN(32 / 8);
_end = .;
_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
PROVIDE (end = .);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -