MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Specifikace Strana 35

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 126
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.)
Zobrazit stránku 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 125 126

Komentáře k této Příručce

Žádné komentáře