SW006015 Microchip Technology, SW006015 Datasheet - Page 79
![C COMPILER MPLAB C32](/photos/9/32/93257/sw006015_kit_sml.jpg)
SW006015
Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Specifications of SW006015
Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2007 Microchip Technology Inc.
5.8.3
The next line in the default linker script pulls in information specific to the processor.
INCLUDE procdefs.ld
The file procdefs.ld is included in the linker script at this point. The file is searched
for in the current directory and in any directory specified with the -L command line
option. The compiler shell ensures that the correct directory is passed to the linker with
the -L command line option based on the processor selected with the -mprocessor
command line option.
The processor definitions linker script contains the following pieces of information:
• Inclusion of Processor-Specific Object File(s)
• Base Exception Vector Address and Vector Spacing Symbols
• Memory Address Equates
• Memory Regions
• Configuration Words Input/Output Section Map
5.8.3.1
This section of the processor definitions linker script ensures that the
processor-specific object file(s) get included in the link.
/**************************************************************
INPUT(“processor.o”)
The INPUT line specifies that processor.o should be included in the link as if this file
were named on the command line. The linker attempts to find this file in the current
directory. If it is not found, the linker searches through the library search paths (i.e., the
paths specified with the -L command line option).
5.8.3.2
This section of the processor definitions linker script defines values for the base
exception vector address and vector spacing.
/**************************************************************
_vector_spacing= 0x00000001;
_ebase_address= 0x9FC01000;
The first line defines a value of 1 for _vector_spacing. The available memory for
exceptions only supports a vector spacing of 1. The second line defines the location of
the base exception vector address (EBASE). This address is located in the KSEG0 boot
segment.
5.8.3.3
This section of the processor definitions linker script provides information about certain
memory addresses required by the default linker script.
/**************************************************************
_RESET_ADDR= 0xBFC00000;
_BEV_EXCPT_ADDR= 0xBFC00380;
_DBG_EXCPT_ADDR= 0xBFC00480;
_DBG_CODE_ADDR= 0xBFC02000;
_GEN_EXCPT_ADDR= _ebase_address + 0x180;
* Processor-specific object file.
**************************************************************/
* For interrupt vector handling
**************************************************************/
* Memory Address Equates
**************************************************************/
Processor Definitions Include File
INCLUSION OF PROCESSOR-SPECIFIC OBJECT FILE(S)
BASE EXCEPTION VECTOR ADDRESS AND VECTOR SPACING
SYMBOLS
MEMORY ADDRESS EQUATES
Contains SFR definitions.
DS51686A-page 75