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.

FLASH_API (警告no matching section)

Flash28335_API_V210 添加進工程後 .cmd 中有2段出現警告

Description Resource Path Location Type
#10068-D no matching section F28335.cmd /inverter line 131 C/C++ Problem

-lFlash28335_API_V210.lib(.econst)

-lFlash28335_API_V210.lib(.text)

可是.econst與.text 明明存在...為何會no matching section

請問有可能是哪裡出了問題?

  • 我导入了例程,默认编译有点问题,修正一些路径变量后,编译通过。也没有出现你这个问题。

    我认为你这个警告是在于你没有把这个库添加进工程,或是编译器没有编译你的库。

    例程里是通过工程属性中的C2000 linker中的file search 来加入这个库。

    ERIC

  • 謝謝大大回答~我後來不理那個警告~

    直接在程序中加入

    ....

    MemCopy(&Flash28_API_LoadStart, &Flash28_API_LoadEnd, &Flash28_API_RunStart);

    ....

    Status = Example_CsmUnlock();
    Flash_CPUScaleFactor = SCALE_FACTOR;
    Flash_CallbackPtr = 0;

    然後呼叫Flash_Erase與Flash_Program是能使用的

    只是警告變成一大堆 (有15個~) 

    Description Resource Path Location Type
    #16002-D build attribute vendor section TI missing in "D:/F28335 test2/inverter/flashAPI/Flash28335_API_V210.lib<Flash28_ClearLoop.obj>": compatibility cannot be determined inverter C/C++ Problem

    Description Resource Path Location Type
    #16002-D build attribute vendor section TI missing in "D:/F28335 test2/inverter/flashAPI/Flash28335_API_V210.lib<Flash28_Prog_Pulse.obj>": compatibility cannot be determined inverter C/C++ Problem

  • LZ,现在搞好没有,我现在也在搞这个,很迷惑,希望LZ帮忙指点一下。

  • 出现这个告警的原因是你在程序中没有用到这个库里的东西,我测试过。用到的程序没有告警,没有用到的就会有。