summaryrefslogtreecommitdiff
path: root/Demo/PIC18_SDCC/lkr/18f4515.lkr
blob: 03daf12d3ae8e3e22eab60762750360a1395b6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// File: 18f4515.lkr
// Sample linker script for the PIC18F4515 processor

// Not intended for use with MPLAB C18.  For C18 projects,
// use the linker scripts provided with that product.

LIBPATH .

CODEPAGE   NAME=page       START=0x0               END=0xBFFF
CODEPAGE   NAME=idlocs     START=0x200000          END=0x200007       PROTECTED
CODEPAGE   NAME=config     START=0x300000          END=0x30000D       PROTECTED
CODEPAGE   NAME=devid      START=0x3FFFFE          END=0x3FFFFF       PROTECTED

ACCESSBANK NAME=accessram  START=0x0            END=0x7F
DATABANK   NAME=gpr0       START=0x80           END=0xF7F
ACCESSBANK NAME=accesssfr  START=0xF80          END=0xFFF          PROTECTED