Specifications
Changing Program Options and Fixing Syntax Errors
2-8
3) If you are programming for the TMS320C6701 and your program uses
floating point values, go to the Target Version field and select 67xx from
the pull-down list.
4) Click OK to save your new option settings.
5) Choose Project
→
Rebuild All or click the (Rebuild All) toolbar button.
You need to rebuild all the files whenever the project options change.
6) A message says the program contains compile errors. Click Cancel.
Scroll up in the Build tab area. You see a syntax error message.
7) Double-click on the red text that describes the location of the syntax error.
Notice that the hello.c source file opens, and your cursor is on the
following line:
fileStr[i] = 0;
8) Fix the syntax error in the line above the cursor location. (The semicolon
is missing.) Notice that an asterisk (*) appears next to the filename in the
Edit window's title bar, indicating that the source file has been modified.
The asterisk disappears when the file is saved.
9) Choose File
→
Save or press Ctrl+S to save your changes to hello.c.
10) Choose Project
→
Build or click the (Incremental Build) toolbar button.
Code Composer Studio rebuilds files that have been updated.