Diferencia entre revisiones de «SDCC C compiler»
(→Installation on Windows) |
|||
(No se muestran 12 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
== Introduction == | == 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|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 == | == Installation on linux platforms == | ||
− | == Installation on Windows == | + | === 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'''. | ||
+ | |||
+ | {| {{tablabonita}} | ||
+ | |[apt://sdcc 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 | ||
+ | |||
+ | {| {{tablabonita}} | ||
+ | | '''SDCC for Windows''': [http://www.iearobotics.com/wiki/images/a/aa/Sdcc-2.9.0-setup.zip 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''': [http://www.iearobotics.com/wiki/images/1/1d/Gputils-0.13.7.zip 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 == | == Links == | ||
* [[Training on modular snake robots|Training on modular snake robots (Main page)]] | * [[Training on modular snake robots|Training on modular snake robots (Main page)]] | ||
− | * [[ | + | * [http://sdcc.sourceforge.net/ SDCC home page] |
− | + | * [http://gputils.sourceforge.net/ GPUTILS home page] | |
+ | * [[Skycube|Skycube board]] | ||
== News == | == News == | ||
* '''Feb/20th/2011''': This page is started! | * '''Feb/20th/2011''': This page is started! |
Revisión actual del 01:44 20 feb 2011
Contenido
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!