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.

  • Resolved

[FAQ] F05 Flash: Why does my project issue a warning that .text and .econst sections of the Flash API library are not found?

Guru 65220 points

Replies: 1

Views: 338

Q: I've added the Flash API library to my project and warnings are generated stating that the .text and .econst sections of the Flash API library are not found. Why does this occur and how can I correct the problem?

For example:

warning: C:/myproject/Flash2808_API_V302.lib(.text) not found

warning: C:/myproject/Flash2808_API_V302.lib(.econst) not found

 

Lori Heustess
C2000 Software Engineering

  • A:

    Note: This answer applies to devices with F05 flash.  Refer to:  [FAQ] F05 Flash: Which C2000 devices have "F05 flash"?

    When adding the Flash API library to a project, if there is no call to the library the above warnings will be generated. The linker generates these warnings due to the fact that the library is not being used so these sections are not found. Once a call to the library is added (e.g. Flash_Program, Flash_Erase) these warnings will go away.

    For more F05 related FAQs refer to [FAQ] F05 Flash: Frequently Asked Questions

    Lori Heustess
    C2000 Software Engineering

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.