BTnut Development Tools - Linux Installation
This page describes the installation procedure of the necessary tools for BTnut development on a Linux PC.
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.
This will install the following tools for AVR:
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
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
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 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.
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.