Tool/software:
Hi,
I have a question related to "formatting" using CCS v20.
I upgraded my version of CCS from v9 (Eclipse framework) to CCS v20 (Theia IDE framework).
I use CLA so I have a .cla file. CCS v20 does not highlight the code in my .cla file whereas it put colors in other .c files. I manage to build the .cla file correctly so it's just about formatting but it's annoying to develop when there is not any color in the code.
Any idea to correct this (options or other settings to change) ?
Thanks,
Adrien
Hello Adrien,
This is a known issue that is fixed in the latest CCS version 20.1.0.
https://sir.ext.ti.com/jira/browse/EXT_EP-12149
Thanks
ki
Thanks Ki, this solved my problem for the .cla file :)
I noticed two oher problems related to "editing" with CCS v20.0.2.
1/ When I use autocompletion, it automatically includes the .h file where the register is declared.
But I have a global header "all_include.h" that already include all .h files I need. So it generates error due to multiple inclusion when I build the project. And the error mentioned by the compiler has absolutely no link to the original problem. So it is hard to debug. I waste some time on it..
I don't know if you are aware of this ? But it could be nice to remove this.
2/ And other thing I noticed is when I drag&drop a file into CSS to open it. Sometimes, it copies the path of the file in a file that is already open in CCS (at the area where the cursor is).
Now, I updated CCS to v20.1.0 and I will see if the above problems are solved.
Adrien
Hi Adrien,
CCS v20.1.1 is target to release at the end of the month, there is a number of fixes related to clangd improvement. One of the fix should address the include header file issue. Can you give this release a try when it is available?
Thanks for letting us know about issue #2, I'll file a JIRA to track this issue.
Regards,
Patrick
Hi Patrick,
Ok I will give a try when the release will be available. Will it be possibe to just do an update or will I have do install completely the new version (I had to do the whole installation again when I update my version to v20.1.0 and it's quite long) ?
Other thing I noticed related to edition: when I disassemble my C code with CCS v20.x.x, assembler instructions are not linked to the C code as before.
When I used CCS v9.x.x, there where an option to view in the disassembly file, the C code line and the equivalent assembly instructions. While now we just view assembly instructions. That was very useful. And I didn't manage to do this with v20.x.x.
Regards,
Adrien
Hi Adrien,
You should be able to do an update when it is available, note that there is an issue with update, preference is not preserved between update. We are working on a solution to preserve preferences during update.
For the Disassembly view, right click in the view and select "Show source".
Regards,
Patrick