Renesas M3T-ICC740 Información técnica Pagina 47

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 53
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 46
45
8.3. Setting Options in Source File Units
In C and assembler source files, it may sometimes be necessary to set options in file units.
In such a case, create additional option macros in file units.
These option macros can be created in the same way for both C and assembler source files.
Therefore, explanation is given by using a C source file as an example below.
In the Option Browser dialog box, click “icc740” or “CFLAGS” (
Figure 30 (a)). The New
button will become active, so click it. The Options dialog box will be displayed. Because the
values of the respective options in this dialog box are the same as those of CFLAGS, change
the values as necessary and click the OK button. A CFLAGS option macro will be created.
As you repeat this operation, the number of option macros increases (
Figure 30 (b)).
(a) Before setting option macros (b) After adding option macros
Figure
Figure Figure
Figure 30
3030
30
Setting options in source file units in the Option Browser dialog box
Setting options in source file units in the Option Browser dialog boxSetting options in source file units in the Option Browser dialog box
Setting options in source file units in the Option Browser dialog box
The new option macros you’ve created are not assigned to any file yet. Click on an option
macro and in the Selected Files section, click on a file name. The selected option macro will
be enabled.
Vista de pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 53

Comentarios a estos manuales

Sin comentarios