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.

[TPRXX][AWR2943] Linker warning no matching section

Project : MCR1
Controller : AWR2943
We are facing an issue where the linker does not see the sections assigned in an asm file
we checked the .o file after the compilation and the section was successfully added and had a size , but the linker does not see this section and fires the warning: no matching section.
 
Could you please support us with this issue or direct us to another support ?
  • Hi,

    Sorry for the delay.

    This question should have been posted on the CCS/tools forum.

    I will assign it to this forum

    thank you

    Cesar

  • Please try an experiment.  Build with the linker option --unused_section_elimination=off.  Does that fix the problem?  If it does, then the linker removes the section because it does not see any references to it.  In that case, you need to use either the .retain assembler directive, or the --retain linker option, on the section.  For details, please search for those features in the TI ARM assembly tools manual.

    Once this experiment is complete, remove the linker option --unused_section_elimination=off.

    Thanks and regards,

    -George