SW006013 Microchip Technology, SW006013 Datasheet - Page 12

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
1.2
1.3
1.4
1.5
DS51456E-page 8
OMF-SPECIFIC LIBRARIES/START-UP MODULES
START-UP CODE
DSP LIBRARY
16-BIT PERIPHERAL LIBRARIES
Library files and start-up modules are specific to OMF (Object Module Format). An
OMF can be one of the following:
• COFF – This is the default.
• ELF – The debugging format used for ELF object files is DWARF 2.0.
There are two ways to select the OMF:
1. Set an environment variable called
2. Select the OMF on the command line when invoking the tool, i.e.,
16-bit tools will first look for generic library files when building your application (no OMF
specification). If these cannot be found, the tools will look at your OMF specifications
and determine which library file to use.
As an example, if
option is set, the file
In order to initialize variables in data memory, the linker creates a data initialization
template. This template must be processed at start-up, before the application proper
takes control. For C programs, this function is performed by the start-up modules in
libpic30-coff.a
crt1.eo
with the desired start-up module file. The source code for the start-up modules is pro-
vided in corresponding
The primary start-up module (
are set to zero as required by the ANSI standard) except for variables in the persistent
data section. The alternate start-up module (
For more on start-up code, see the “MPLAB
MCUs and dsPIC
“MPLAB
The DSP library (
to a program targeted for execution on a dsPIC30F digital signal controller (DSC). In
total, 49 functions are supported by the DSP Library.
Documentation for these libraries is provided in HTML Help files. Examples of use may
also provided. By default, the documentation is found in:
C:\Program Files\Microchip\MPLAB C30\docs\dsp_lib
The 16-bit software and hardware peripheral libraries provide functions and macros for
setting up and controlling 16-bit peripherals. These libraries are processor-specific and
of the form
libp30F6014-coff.a
Documentation for these libraries is provided in HTML Help files. Examples of use are
also provided in each file. By default, the documentation is found in:
C:\Program Files\Microchip\MPLAB C30\docs\periph_lib
-momf=
®
). Assembly language programs can utilize these modules directly by linking
C Compiler for PIC24 MCUs and dsPIC
omf .
libp
Device-omf
libdsp-
libdsp.a
®
(either
DSCs User's Guide” (DS51317) and, for C applications, the
libdsp-coff.a
for the dsPIC30F6014 device) and omf is either
.s
omf
files.
crt0.o
is not found and no environment variable or command-line
crt0
.a
.a
) provides a set of digital signal processing operations
, where Device is the 16-bit device number (e.g.,
) initializes all variables (variables without initializers
or
will be used by default.
crt1.o
PIC30_OMF
®
) or
crt1
Assembler, Linker and Utilities for PIC24
libpic30-elf.a
) performs no data initialization.
®
for all tools.
DSCs User’s Guide” (DS51284).
© 2008 Microchip Technology Inc.
(either
-omf=
coff
crt0.eo
omf or
or
elf
.
or

Related parts for SW006013