MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Spécifications Page 35

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 126
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.)
Vue de la page 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 125 126

Commentaires sur ces manuels

Pas de commentaire