Resolve build errors if
there is any. Check the error report in the Problems console first. Then
locate the error and fix. Common issues are missing includes, undefined
macros, and syntax mismatches.
Adjust compiler
optimization levels and other settings for performance or size. Please
refer to TI ARM Clang Compiler User
Manual for a more detailed description of the optimization
options.
Create a debug configuration:
Run → Debug
Configurations → New Launch Configuration.
Select the target
connection (XDS110, JTAG, SWD).
Use a .ccxml file to
define the debug probe and MCU.
Run on hardware and debug:
Connect the target
microcontroller to CCS and load the program.
Load the program and
verify breakpoints, register views, and memory inspection. Verify that
the program runs correctly and performs as expected.