-
GD32 Eclipse提示错误 undefined symbol `__Vectors_End'
按照官方文档步骤,设置后编译提示undefined symbol `__Vectors_End' referenced in expression错误,感觉ld文件,但找不到文件的问题。/* memory map */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 48K } ENTRY(Reset_Handler) SECTIONS { __stack_size = DEFINED(__stack_size) ? __stack_size : 20K; /* ISR vectors */ .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); /* the symbol ‘_etext’ will be defined at the end of code section */ _etext = .; } >FLASH
2592浏览量 8回复量 关注量 -
GD32F031C6 Vector Table Offset Register
SCB_Type 结构体中 没有下面这个成员,那么我如何做向量表偏移呢? __IO uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
1027浏览量 1回复量 关注量