问答

汇集网友智慧,解决技术难题

Chekey

TA的家园币:10  

  • GD32 Eclipse提示错误 undefined symbol `__Vectors_End'

    按照官方文档步骤,设置后编译提示undefinedsymbol`__Vectors_End'referencedinexpression错误,感觉ld文件,但找不到文件的问题。/*memorymap*/MEMORY{FLASH(rx):ORIGIN=0x08000000,LENGTH=256KRAM(xrw):ORIGIN=0x20000000,LENGTH=48K}ENTRY(Reset_Handler)SECTIONS{__stack_size=DEFINED(__stack_size)?__stack_size:20K;/*ISRvectors*/.vectors:{.=ALIGN(4);KEEP(*(.vectors)).=ALIGN(4);//__Vectors_End=.;//__Vectors_Size=__Vectors_End-__Vectors;}>FLASH.text:{.=ALIGN(4);*(.text)*(.text*)*(.glue_7)*(.glue_7t)*(.eh_frame)KEEP(*(.init))KEEP(*(.fini)).=ALIGN(4);/*thesymbol‘_etext’willbedefinedattheendofcodesection*/_etext=.;}>FLASH