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.
你好。 我正在尝试通过示例 flashapi_ex1_program_auto acc 将在闪存中记录系数的功能添加到项目中。 问题在于--abi=eabi 标志最初在我的项目设置中、并且 F021_API_F28004x_FPU32.lib 库是为--abi=coffabi 标志编译的。 在"常规"设置中、我进行了相应更改:输出文件格式:旧版 COFF。 但是、由于某种原因、编译器会抛出错误:
错误#10016-D:-- abi=生成 ELF 输出文件时不支持咖啡
致命错误#10011:无法继续使用指定的选项;中止
我犯了什么错? 我使用的是 C2000Ware 5.0.0.00库、编译器22.6.0.LTS
-v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff /ti/c2000/C2000Ware_5_00_00_00 - opt_for_speed=2 /YandexDisk/CCS11/P60000001_FLASH_TEST/device --include_path="C /ti/c2000/C2000Ware_5_00_00_00/device_support/f28004x/common/include:/YandexDisk/CCS11/P60000001_FLASH_TEST /ti/c2000/C2000Ware_5_00_00_00/driverlib/f28004x/driverlib /ti/c2000/C2000Ware_5_00_00_00/device_support/f28004x/headers/include /ti/c2000/C2000Ware_5_00_00_00/libraries/flash_api/f28004x/include/FlashAPI /ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include /YandexDisk/CCS11/P60000001_FLASH_TEST/CPU1_FLASH/syscfg
-v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff /ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/lib - opt_for_speed=2 /ti/c2000/C2000Ware_5_00_00_00 --define=debug /YandexDisk/CCS11/P60000001_FLASH_TEST/CPU1_FLASH/syscfg - define=_flash /ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include --F8_suppress=10063 /ti/c2000/C2000Ware_5_00_00_00/libraries/flash_api/f28004x/lib
我能指望得到答案吗? 我需要为 eabi 编译了 F021_API_F28004x_FPU32.lib、或者需要回答这个问题-为了将工程编译为传统 COFF 输出文件格式、我还需要在编译器设置中进行哪些更改
您好!
您是否尝试使用 C2000Ware_5_00_00_00\libraries\flash_api\f28004x\lib 中提供的 F021_API_F28004x_FPU32_EABI.lib?
谢谢。此致、
瓦姆西
您好!
谨此确认:F021_API_F28004x_FPU32_ EABI .lib 也无法正常使用?
谢谢。此致、
瓦姆西