This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

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

Other Parts Discussed in Thread: CONTROLSUITE

<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

  • error #10234-已解决!

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

  • 您好,

    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开始仿真。