I get a project of TMS470MF066 by HAL,then I compile the project ,but failed.
the message is "error: --retain=*(.intvecs) not supported when producing TI-COFF output files"
what is the problem?
thank you very much.
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.
I get a project of TMS470MF066 by HAL,then I compile the project ,but failed.
the message is "error: --retain=*(.intvecs) not supported when producing TI-COFF output files"
what is the problem?
thank you very much.
The explanation for the error is exactly as stated in the text: the --retain option is not supported when producing COFF output files. Your linker command file probably has this option specified and as you can see from the build output, since there is no specific ABI option in the build options, the default is COFF output.
You can change the ABI to eabi and that will get rid of the error (and ofcourse produce a ELF output file). You can do this from Project Properties->CCS Build->Output Format, and set this to eabi(ELF).
Thank you for your answer.
But I still feel confused.It also display the error.
That is the detail below.
related cmd file code by HAL:
-l rtsv7M3_T_be_eabi.lib
--retain="*(.intvecs)"
--retain="*(.vim_table)"
related setting of ccs:
I have selected 'Elf Parser' once,the error still there.
what is the difference between TI-COFF and ELF?which one should I choose?
Tahnks again.
It seems that you are using an older version of CCSv4 where the ABI setting is not available from the Properties->CCS Build->General tab ( as seen in your screenshot). In this case, you can go into Properties->C/C++ Build->Compiler->Runtime Model Options and set the ABI to EABI from there.
The Parser setting can still be left as TI Coff Parser.
I also noticed that you have a duplicate post with the same question at http://e2e.ti.com/support/microcontrollers/hercules/f/407/t/164041.aspx. To avoid duplicate efforts, I will reference this thread at the other thread as well.
Hi AartiG,
I changed CCS4 to CCS5,then generated a new empty project by the wizard.
It was compiled successfully.
But a new problem appeared when it connected the target device.
This device has been erased successfully before by the tool flash470.
This is the first time I use CCS and TI product .Thank you for supporting me.
pengyuan yang said:I changed CCS4 to CCS5,then generated a new empty project by the wizard.
It was compiled successfully.
pengyuan yang said:But a new problem appeared when it connected the target device.