能打印了,系统还跑不起来

This commit is contained in:
2025-06-29 11:20:46 +08:00
parent 91a9d6c468
commit e6cd339e78
17 changed files with 63371 additions and 37 deletions

View File

@@ -72,9 +72,11 @@ SECTIONS
/* The startup code goes first into FLASH */
.isr_vector :
{
isr_vector_start = .;
. = ALIGN(4);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
isr_vector_end = .;
} >FLASH
/* The program code and other data goes into FLASH */
@@ -103,27 +105,41 @@ SECTIONS
. = ALIGN(4);
} >FLASH
.my_data :
.libc_dev :
{
/* Place specific object files at fixed addresses */
. = ALIGN(4);
libc_dev_start = .;
*(libc_dev)
KEEP(*(.libc_dev))
libc_dev_end = .;
. = ALIGN(4);
} >FLASH
.name :{
. = ALIGN(4);
name_start = .;
*(name)
KEEP(*(.name))
name_end = .;
. = ALIGN(4);
} >FLASH
.sys_api :{
. = ALIGN(4);
sys_api_start = .;
*(sys_api)
*(.sys_api)
sys_api_end = .;
. = ALIGN(4);
} >FLASH
.bsp_init :{
. = ALIGN(4);
bsp_init_start = .;
*(bsp_init)
bsp_init_end = .;
. = ALIGN(4);
} >FLASH
.ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } >FLASH
.ARM : {
__exidx_start = .;