SDCC C compiler

De WikiRobotics
Saltar a: navegación, buscar

Introduction

SDCC is an ANSI C compiler that targets different MCUs such as Intel 8051, Maxim 80DS390, Zilog Z80, Microchip PIC16/18 among others. SDCC is Free Open Source Software, distributed under GNU General Public License (GPL).

We will use this compiler for programming in C language the Microchip PIC16F876A microcontroller located in the Skycube board. In addition, the GPUTILS tools are needed. GPUTILS is a collection of tools for the Microchip (TM) PIC microcontrollers. It's distributed under the terms of the GNU Public License.

Installation on linux platforms

Ubuntu 10.04/10.10

The SDCC compiler and the GPUTILS are in the ubuntu's repositories. They can be easily installed by means of the ubuntu's software center or Synaptic.

SDCC quick installation. Just click on the link to automatically install sdcc and gptuils

Optionally they can be installed by means of apt-get:

sudo apt-get install sdcc gputils

Installation on Windows 7 / windows XP

The installation is the same for both Windows 7 and windows XP. It is recommended to install it as administrator so that the tools will be available for all the users.

Uncompress the following files and execute the .exe files

SDCC for Windows: SDCC-2.9.0-setup.zip.

Accept the default configuration. In the last step it is recommended to also accept the suggested PATH modification for all the users.

GPUTILS: Gputils-0.13.7.zip.

Accept the default configuration. In the last step it is recommended to also accept the suggested PATH modification for all the users.

Links

News

  • Feb/20th/2011: This page is started!