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.

-lFlash28335_API_V210.lib(.econst) 警告:no matching section

Flash28_API:
{
-lFlash28335_API_V210.lib(.econst)
-lFlash28335_API_V210.lib(.text)
}
LOAD = FLASHA,
RUN = RAML0,
LOAD_START(_FLASH_API_USELoadStart),
LOAD_END(_FLASH_API_USELoadEnd),
RUN_START(_FLASH_API_USERunStart),
PAGE = 0

警告为:no matching section 指向-lFlash28335_API_V210.lib(.econst) 和-lFlash28335_API_V210.lib(.text)

C2000 linker中已经添加了Flash28335_API_V210.lib

  • 建议您通过工程属性中的C2000 linker->file search 查看是否有Flash2803x_API_V100.lib这个库.

    另外您有没有调用过API函数?如果您没有调用库中的函数,则库中的任何内容都不会被拉入项目中,因此您将获得no matching section的警告。