Hi,
I just wanted to share some steps I took in order to get a TDC7200EVM example project to compile cleanly (even though these steps may seem trivial to the more experienced CCS developer).
These "tweaks" may not be good solutions, and if not, I hope knowledgeable developers will point out the problems.
Download and install the TDC7200EVM GUI found here.
Copy "C:\Program Files (x86)\Texas Instruments\TDC720xEVM\Firmware\TDC720xEVM_Firmware_Source-v2.07.zip" to a suitable destination for a new workspace and extract all.
Open CCS and, when prompted for a workspace, navigate to the extracted files and select "TDC720xEVM_Firmware_Source-v2.07\CCS". (Accept prompt to update workspace from older version.)
Rebuild TDC7200EVM_USB project. Several errors refer to undefined "cstring"...
Go to project properties Build\MSP430 Compiler and click "Edit Flags...". Note the last include flag "C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include". This path probably does not exist on your machine!
Update the existing include flag and ADD a new flag to include the /libcxx subdirectory.
In my case we change
FROM: --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include"
TO: --include_path="C:\TI\ccsv8\tools\compiler\ti-cgt-msp430_18.1.4.LTS/include" --include_path="C:\TI\ccsv8\tools\compiler\ti-cgt-msp430_18.1.4.LTS/include/libcxx". Note the SPACE and two dashes preceding "include_path". There is NO SPACE after the two dashes..
Build Project. The "cstring" error should be gone, that leaves many undefined identifiers, with "_LIBCPP_BEGIN_NAMESPACE_STD" on top.
Edit Properties\Build\MSP430 Compiler\Advanced Options\Language Options. ENABLE "Treat C files as C++ files".
Build Project. The "Conversion f not allowed in printf_support=minimal mode may be fixed as follows:
Edit Properties\Build\MSP430 Compiler\Advanced Options\Library Function Assumptions. Change level of printf support to "Full".
Build Project. Re: "null errors" and/or "unresolved symbol", edit "host_interface.c" as follows:
ADD: #include "usb.h" AND REMOVE (or comment-out): "extern uint8_t USB_disable(void);"
Build Project. At this point I had no more errors, but 36 warnings - 35 related to redundancies in the two files "USB_API\msp430USB.cmd" and "..\USB_API\MSP430USB.Id".
I deleted the"MSP430USB.id"
Build Project. For me that left one warning: "This project was created using a version of compiler that is not currently installed...".
I didn't try to download the older compiler. I edited Properties\General\Project\Compiler version - selecting the installed compiler = for me "TI v18.1.4.LTS"
Build the project.