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

TMS570LC4357: CCSV10编译TMS570LS31x\boot_uart工程,编译出错!

Part Number:TMS570LC4357

你好:

   我在编译SafetyMCU_Bootloader\SafetyMCU_Bootloader\TMS570LS31x\boot_uart这个工程的时候,遭遇了一下错误:

<Linking>
error #10056: symbol "Fapi_setupEepromSectorEnable" redefined: first defined in"./Fapi_UserDefinedFunctions.obj"; redefined in"..\Release\Fapi_UserDefinedFunctions.obj"
error #10056: symbol "Fapi_setupBankSectorEnable" redefined: first defined in"./Fapi_UserDefinedFunctions.obj"; redefined in"..\Release\Fapi_UserDefinedFunctions.obj"
error #10056: symbol "Fapi_serviceWatchdogTimer" redefined: first defined in"./Fapi_UserDefinedFunctions.obj"; redefined in"..\Release\Fapi_UserDefinedFunctions.obj"
error #10056: symbol "Flash_Erase_Check" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "Fapi_BlockRead" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "Flash_Program_Check" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "flash_bank" redefined: first defined in "./bl_flash.obj";redefined in "..\Release\bl_flash.obj"
error #10056: symbol "flash_sector" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "Fapi_BlockErase" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "BLInternalFlashSizeGet" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "Fapi_BlockProgram" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "Fapi_UpdateStatusProgram" redefined: first defined in"./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "BLInternalFlashStartAddrCheck" redefined: first definedin "./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"
error #10056: symbol "BLInternalFlashFirstSectorSizeGet" redefined: firstdefined in "./bl_flash.obj"; redefined in "..\Release\bl_flash.obj"

请问是我哪里出错了?

Susan Yang:

请问还是之前工程的问题?您的编译报错主要是路径的问题。之前给出的意见,您是否有进行修改路径?

,

li xy:

这工程队arm的编译器有版本要求吗? 我看spec上面写的是arm v5.1.3, 而我的ccs用的是TI 20.2.1.LTS

,

Susan Yang:

li xy 说:我看spec上面写的是arm v5.1.3, 而我的ccs用的是TI 20.2.1.LTS

这个是可以使用 TI 20.2.1.LTS的

,

Susan Yang:

如之前所说,配置lib的路径,删除target configuration 的cxmml后,可以编译成功

,

li xy:

我把bl_link.cmd文件内的   ../../release/ Fapi_UserDefinedFunctions.obj (.text) 中的release删除了,就可以编译了                                                ../../release/ bl_flash.obj (.text)

,

Susan Yang:

很高兴您能解决问题

赞(0)
未经允许不得转载:TI中文支持网 » TMS570LC4357: CCSV10编译TMS570LS31x\boot_uart工程,编译出错!
分享到: 更多 (0)