BTnut Development Tools - Linux Installation
This page describes the installation procedure of the necessary tools for BTnut development on a Linux PC.
Quickstart
Many linux distributions come with ready-made packages for the necessary toolchain. On Ubuntu install necessary tools (compiler, standard libraries, binary utilities and programmer; optionally an IDE and a terminal program) with:
apt-get install gcc-avr avr-libc binutils-avr uisp avrdude eclipse-sdk minicom
You need to have the universe packages enabled in /etc/apt/source.list
for this to work. See the Ubuntu Wiki for details.
If you prefer a custom-made toolchain, download the install script that downloads, compiles and installs the four basic tools (binutils, gcc, avr-libc, uisp) you need to get your first BTnut application running.
install_avr_linux.sh [2006-03-15]
This will install the following tools for AVR:
- GNU Binutils 2.16
- GCC 3.4.5
- AVR Libc 1.4.3
- uisp [20050207]
- AVRDUDE 5.1
(:num:)
Tool-Chain
On Debian/Ubuntu systems (prepend sudo
on Ubuntu) you can install the necessary tools (compiler, standard libraries, binary utilities and programmer) with
apt-get install gcc-avr avr-libc binutils-avr uisp
You can also optionall install AVRdude (a uisp-alternative) using apt-get install avrdude
if you included the testing
repositories in your /etc/apt/sources.list
(deb http://http.us.debian.org/debian testing main
). If not, you can always download the avrdude debian source package and compile a package for your own system according to this FAQ
Eclipse
You might want to install the Eclipse IDE for both convenient access to the CVS repository, as well as a programming environment:
apt-get install eclipse-sdk
Minicom
Minicom allows you to read output from your BTnode and provide text input to your BTnode application via the serial USB interface:
apt-get install minicom
Installing the System Software
Please continue with step two of the installation process: 2. Installing the System Software.
(:nonum:)
Optional Tools
You can develop programs for AVR devices without the following tools. They may or may not be of use for you. For detailed installation instructions please refer to the avr-libc tool installation documentation:
Download the install script that downloads, compiles and installs the optional tools.
install_avrextras_linux.sh [2006-03-22]