11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DSPICC Command-line DriverDSPICC Compiler OptionsThe column number is relative to the left-most non-space character on the source line.The environment variables can be set in a similar way, for example setting the environmentvariables from within DOS can be done with the following DOS commands:set HTC_WARN_FORMAT=WARNING: file %f; line %l; column %c; %sset HTC_ERR_FORMAT=ERROR: %a: file %f; line %l; column %c; %n %sUsing the previous source code, the output from the compiler when using the above environmentvariables would be:ERROR: parser: file x.c; line 4; column 6; (192) undefined identifier: xFFRemember that if these environment variables are set in a batch file, you must prepend the specifierswith an additional percent character to stop the specifiers being interpreted immediately by DOS,e.g. the filename specifier would become %%f.2.4.27 –ERRORS=number: Maximum Number of ErrorsThis option sets the maximum number of errors each component of the compiler will display beforestopping. By default, up to 20 error messages will be displayed.2.4.28 --GETOPTION=app,file: Get Command-line OptionsThis option is used to retrieve the command line options which are used for named compiler application.The options are then saved into the given file. This option is not required for most projects.2.4.29 --HELP: Display HelpThe --HELP option displays information on the DSPICC compiler options. To find out more about aparticular option, use the option’s name as a parameter. For example:DSPICC --help=warnThis will display more detailed information about the --WARN option.2.4.30 --IDE=type: Specify the IDE being usedThis option is used to automatically configure the compiler for use by the named Integrated DevelopmentEnvironment (IDE). The supported IDE’s are shown in Table 2.4.15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!