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.

“STK_C6657”下的“UART”例程 添加“UART_vectors.asm”时 不能编译通过!!!

你好:

我编译“STK_C6657”下的“UART”例程时,当文件中没有添加“UART_vectors.asm” 可以编译通过,当文件中添加了“UART_vectors.asm”时 报错如图所示,这是什么问题,如何解决?我用的CCS版本是5.2.1.00018。

不添加“UART_vectors.asm” ,虽然可以编译通过,但UART的接收好像进不了中断???

  • 编译时提示如下:

    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    KeyStone_UART_EDMA_ISR ./src/UART_vectors.obj

    KeyStone_UART_Error_ISR ./src/UART_vectors.obj
    >> Compilation failure
    KeyStone_UART_Rx_ISR ./src/UART_vectors.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "uart.out" not built
    gmake: *** [uart.out] Error 1
    gmake: Target `all' not remade because of errors.

    有知道的 给个回复啊??? 谢了!!!

  • common文件夹的路径改了吧,你的工程里没有包含这几个函数

x 出现错误。请重试或与管理员联系。