MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Spezifikationen Seite 35

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 126
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 34
Changing Program Options and Fixing Syntax Errors
Developing a Simple Program
2-7
2.5 Changing Program Options and Fixing Syntax Errors
In the previous section, the portion of the program enclosed by the
preprocessor commands (#ifdef and #endif) did not run because FILEIO was
undefined. In this section, you set a preprocessor option with Code
Composer Studio. You also find and correct a syntax error.
1) Choose Project
Options.
2) In the Compiler tab of the Build Options window, select Preprocessor
from the Category list. Type
FILEIO
in the Define Symbols box. Press the
Tab key.
Notice that the compiler command at the top of the window now includes
the -d option. The code after the #ifdef FILEIO statement in the program
is now included when you recompile the program. (The other options may
vary depending on the DSP board you are using.)
Seitenansicht 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 125 126

Kommentare zu diesen Handbüchern

Keine Kommentare