SW500007 Microchip Technology, SW500007 Datasheet - Page 25

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
PICC-18 Command-line Driver
(or psects), as may be the case if the program contains C code which makes use of the #pragma
psect directive or assembler code which contains user-defined psects. See Section
more information. If this -L option did not exist, it would be necessary to invoke the linker manually
to link code which uses the extra psects.
rather than by name. This would be passed to PICC18 as the option -L-N.
first character after the -L up to the = character matches a default option, then the default option is
replaced by the option specified. For example, -L-preset=100h will inform the linker to replace
the default option that places the reset psect to be one that places the psect at the address 100h. The
default option that you are replacing must contain an equal character.
2.4.9 -Mfile: Generate Map File
The -M option is used to request the generation of a map file. The map is generated by the linker and
includes information about where objects are located in memory. If no filename is specified, then
the name of the map file will have the same name as the first file listed on the command line, with
the extension .map.
2.4.10 -Nsize: Identifier Length
This option allows the C identifier length to be increased from the default value of 31. Valid sizes
for this option are from 32 to 255. The option has no effect for all other values.
2.4.11 -Ofile: Specify Output File
This option allows the name of the output file(s) to be specified. If no -O option is given, the output
file(s) will be named after the first source or object file on the command line. The files controlled are
any produced by the linker or applications run subsequent to that, e.g. CROMWELL. So for instance
the HEX file, map file and SYM file are all controlled by the -O option.
required path before the filename, e.g. -Oc:\project\output\first.hex. This will then also
specify the output directory for any files produced by the linker or subsequently run applications.
2.4.12 -P: Preprocess Assembly Files
The -P option causes the assembler files to be preprocessed before they are assembled thus allowing
the use of preprocessor directives, such as #include, with assembler code. By default, assembler
The -L option is especially useful when linking code which contains extra program sections
One commonly used linker option is -N, which sorts the symbol table in the map file by address,
The -L option can also be used to replace default linker options. If the string starting from the
The -O option can also change the directory in which the output file is located by including the
PICC18 Compiler Options
3.12.3.3
for
11

Related parts for SW500007