TI中文支持网
TI专业的中文技术问题搜集分享网站

ccs6从debug转为release后build报错,另外如何使用memcpy将DELAY_US copy到RAM区域。

<Linking>
warning #10210-D: creating ".stack" section with default size of 0x400; use the -stack option to change the default size

undefined first referenced
symbol in file ——— —————-
_InitGpio ./main.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "LED.out" not built

syemour syemour:

error #10234-已解决!

另外;1)memcpy延时函数怎么弄?2)code_start这个是干啥用的?

Seven Han:

回复 syemour syemour:

您好,

memcpy函数是用来COPY OVER THE SECTION "ramfuncs",可以参考controlsuite中的_flash例程;

codestart是在进入main之前自动运行的,进行以下判断:

    .sect "codestart"

code_start:    .if WD_DISABLE == 1        LB wd_disable       ;Branch to watchdog disable code    .else        LB _c_int00         ;Branch to start of boot.asm in RTS library    .endif

将code entry point 为改为_C_int00(code_start  )就可以从code_start开始仿真。

赞(0)
未经允许不得转载:TI中文支持网 » ccs6从debug转为release后build报错,另外如何使用memcpy将DELAY_US copy到RAM区域。
分享到: 更多 (0)