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.
Tool/software: TI C/C++ Compiler
In the specify output file name, can I specify two output files? The current .out file and an additional .txt file to use with the boot loader.
Also, can someone point me to the documentation for the linker?
In addition, what are the compiler/linker commands/key words to a constant array of characters into flash memory rather than ram.
Again, documentation would be useful if I could find it
Thanks,
Gerry Kurz
Gerry Kurz said:In the specify output file name, can I specify two output files?
No. The linker can only output an executable object file, which typically has the file extension .out.
Gerry Kurz said:and an additional .txt file to use with the boot loader
This file is created in a separate step with the hex utility.
Gerry Kurz said:Also, can someone point me to the documentation for the linker?
See this page for all of TI's compilers and manuals. The linker is documented in the Assembly Language Tools manual.
Gerry Kurz said:In addition, what are the compiler/linker commands/key words to a constant array of characters into flash memory rather than ram.
Use the --array option of the hex utility. Note this is a new feature which is available only with the latest version 18.1.x.LTS. You can add this step in your CCS project. You have to enable the hex utility, then select the --array option. See the screenshot below.
Thanks and regards,
-George
Ok I got the output file to work, thanks.
I will have a look at the documents now......