FileInfo

Idiomas

Visión General

What is an LKR file? An LKR file is a linker script used by Microchip Technology MPLAB C Compiler for PIC18 MCUs (MPLAB C18). The compiler uses the LKR file to merge multiple files into a single program. MPLAB C18 includes multiple LKR files, used when compiling different kinds of programs.

More Information Microchip Technology MPLAB is an integrated development environment ( IDE ) used to create embedded applications on PIC and dsPIC microcontrollers. When compiling programs using MPLAB, developers use different compilers when targeting different microcontrollers. Version 8 of MPLAB includes support for the C18 compiler, used to compile programs for PIC18 microcontrollers. When compiling a program using C18, developers previously had to manually specify a linker script used to merge their program's constituent files into a single program file. In the most recent version of C18, however, the compiler automatically selects an appropriate linker script from its ~mcc/​18/​bin/​LKR directory. These scripts are saved as LKR files. NOTE: Other MPLAB products may also use linker scripts saved as LKR files.

Popularity1.5/5

2 votes

Quick AppUsed by
VerifiedVerified by FileInfo.com The FileInfo.com team has independently researched the MPLAB C18 Linker Script file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified. If you would like to suggest any additions or updates to this page, please let us know .

Document Icon

Migas de pan

DeveloperMicrochip Technology
Popularity1.5 | 2 Votes

Previous / Next

In-Depth

.LKR File Extension

MPLAB C18 Linker Script

DeveloperMicrochip Technology
Popularity
1.5  |  2 Votes
 

What is an LKR file?

An LKR file is a linker script used by Microchip Technology MPLAB C Compiler for PIC18 MCUs (MPLAB C18). The compiler uses the LKR file to merge multiple files into a single program. MPLAB C18 includes multiple LKR files, used when compiling different kinds of programs.

More Information

Microchip Technology MPLAB is an integrated development environment ( IDE ) used to create embedded applications on PIC and dsPIC microcontrollers. When compiling programs using MPLAB, developers use different compilers when targeting different microcontrollers. Version 8 of MPLAB includes support for the C18 compiler, used to compile programs for PIC18 microcontrollers.

When compiling a program using C18, developers previously had to manually specify a linker script used to merge their program's constituent files into a single program file. In the most recent version of C18, however, the compiler automatically selects an appropriate linker script from its ~mcc/​18/​bin/​LKR directory. These scripts are saved as LKR files.

NOTE: Other MPLAB products may also use linker scripts saved as LKR files.

How to open an LKR file

Because LKR files are plain text scripts, you can open and edit them in Microsoft Visual Studio Code (multiplatform) or any other text editor. However, you should not edit the default LKR files included with MPLAB C18, as doing so might cause the compiler to function incorrectly.

Open over 400 file formats with File Viewer Plus . Free Download

Programs that open or reference LKR files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

Microchip Technology MPLAB C18

Free Trial

Microsoft Visual Studio Code

Free

Any text editor

Mac

Microsoft Visual Studio Code

Free

Any text editor

Linux

Microsoft Visual Studio Code

Free

Any text editor

Category: Developer Files

Updated: February 6, 2023

Preguntas Frecuentes

What is an LKR file?
An LKR file is a linker script used by Microchip Technology MPLAB C Compiler for PIC18 MCUs (MPLAB C18). The compiler uses the LKR file to merge multiple files into a single program. MPLAB C18 includes multiple LKR files, used when compiling different kinds of programs.
How do I open an .lkr file?
Because LKR files are plain text scripts, you can open and edit them in Microsoft Visual Studio Code (multiplatform) or any other text editor. However, you should not edit the default LKR files included with MPLAB C18, as doing so might cause the compiler to function incorrectly.