Diferencia entre revisiones de «CodeBlock IDE and PIC microcontrollers»
De WikiRobotics
(→Ubuntu 10.04/10.10) |
(→Ubuntu 10.04/10.10) |
||
Línea 7: | Línea 7: | ||
=== Ubuntu 10.04/10.10 === | === Ubuntu 10.04/10.10 === | ||
+ | |||
+ | ==== Installation ==== | ||
The Code::Blocks IDE is in the '''ubuntu's repositories'''. It can be easily installed by means of the ubuntu's '''software center''' or '''Synaptic'''. | The Code::Blocks IDE is in the '''ubuntu's repositories'''. It can be easily installed by means of the ubuntu's '''software center''' or '''Synaptic'''. | ||
Línea 17: | Línea 19: | ||
sudo apt-get install codeblocks | sudo apt-get install codeblocks | ||
+ | |||
+ | ==== Configuration ==== | ||
+ | [[Archivo:Pantallazo-compiler-and-debugger-codeblocks-r2.png|thumb|300px|Configuración del codeblocks en Linux (''click para ampliar'')]] | ||
+ | |||
+ | * Arrancar el code::blocks (Menú Aplicaciones/programación de Ubuntu) | ||
+ | * Pinchar en la opción '''''Settings/Compiler and debugger''''' | ||
+ | * Seleccionar en el desplegable superior (en ''Selected compiler'') la opción "'''SDCC Compiler'''" | ||
+ | * Seleccionar la pestaña "'''Toolchain executables'''" | ||
+ | * En el diálogo "Compiler's installation directory" escribir: '''/usr/bin''' | ||
+ | * Pinchar en '''Aceptar''' en la parte inferior | ||
+ | * ¡¡Listo!! | ||
== Installation on Windows 7 / windows XP == | == Installation on Windows 7 / windows XP == |
Revisión del 03:48 20 feb 2011
Contenido
Introduction
Code::Blocks is a multiplatform open source C/C++ IDE. It can be used with different compilers and cross-compilers. The Code::Block IDE can be used to program the PIC microcontrollers.
Installation on linux platforms
Ubuntu 10.04/10.10
Installation
The Code::Blocks IDE is in the ubuntu's repositories. It can be easily installed by means of the ubuntu's software center or Synaptic.
Code::Blocks quick installation. Just click on the link to automatically install Code::Blocks |
Optionally it can be installed by means of apt-get:
sudo apt-get install codeblocks
Configuration
- Arrancar el code::blocks (Menú Aplicaciones/programación de Ubuntu)
- Pinchar en la opción Settings/Compiler and debugger
- Seleccionar en el desplegable superior (en Selected compiler) la opción "SDCC Compiler"
- Seleccionar la pestaña "Toolchain executables"
- En el diálogo "Compiler's installation directory" escribir: /usr/bin
- Pinchar en Aceptar en la parte inferior
- ¡¡Listo!!
Installation on Windows 7 / windows XP
Compiling the "hello world" program
Links
News
- Feb/20th/2011: This page is started!