Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

MPLAB
®
XC16 C COMPILER
USERS GUIDE
2012-2013 Microchip Technology Inc. DS50002071C-page 47
Chapter 3. XC16 Toolchain and MPLAB X IDE
3.1 INTRODUCTION
The 16-bit language tools may be used together under MPLAB X IDE to provide GUI
development of application code for the dsPIC
®
DSC and PIC24 MCU families of
devices. The tools are:
MPLAB XC16 C Compiler
MPLAB XC16 Assembler
MPLAB XC16 Object Linker
MPLAB XC16 Object Archiver/Librarian and other 16-bit utilities
Topics covered in this chapter:
MPLAB X IDE and Tools Installation
MPLAB X IDE Setup
MPLAB X IDE Projects
Project Setup
Project Example
3.2 MPLAB X IDE AND TOOLS INSTALLATION
In order to use the 16-bit language tools with MPLAB X IDE, you must install:
MPLAB X IDE, which is available for free on the Microchip website.
MPLAB XC16 C Compiler, which includes all of the 16-bit language tools. The
compiler is available for free (Free and Evaluation editions) or for purchase (Stan-
dard or Pro editions) on the Microchip website.
The 16-bit language tools will be installed, by default, in the directory:
Windows OS 32-bit - C:\Program Files\Microchip\xc16\x.xx
Windows OS 64-bit - C:\Program Files (x86)\Microchip\xc16\x.xx
Mac OS - Applications/microchip/xc16/x.xx
Linux OS - /opt/microchip/xc16/x.xx
where x.xx is the version number.
The executables for each tool will be in the bin subdirectory:
C Compiler - xc16-gcc.exe
Assembler - xc16-as.exe
Object Linker - xc16-ld.exe
Object Archiver/Librarian - xc16-ar.exe
Other Utilities - xc16-utility.exe
All device include (header) files are in support/family/h subdirectories, where
family is the device family for your selected device (e.g., dsPIC30F is the device
family for the dsPIC30F6015 device). For more on these files, see
Section 6.3 Device Header Files.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh