Installation
Note: This installation procedure is rather UNIX/GNU/Linux-centric.
The BTnut system software has three target platforms: the BTnode 2.2, the BTnode 3 and GNU/Linux (or UNIX-like systems in general). By default, the binaries for all platforms are made. The software for the GNU/Linux platform tries to emulate a BTnode. The GNU/Linux version is used mainly for debugging but also to build applications distributed over BTnodes and desktop workstations with almost the same API.
- An avr-gcc tool chain is required. You can get these and installation instructions at http://www.btnode.ethz.ch. Basically the tool chain consists of a standard gcc and binutils configured with the "--target=avr" option PLUS the avr libc PLUS uisp (programmer for various processors and evaluation boards, such as STK200, STK300, and STK500/501).
If you want to build the documentation you need the program "doxygen". This is useful if you want to update this documentation or you want to document your own code. Doxygen is very similar to javadoc and can extract comments from the sources to built a manual. If you don't already have doxygen, get it from http://www.doxygen.org/. In the top-level directory there are multiple makefile commands.
make install
: Builds the packet for the supported GNU/Linux and BTnode platforms and stores all libraries in the ./lib/ folder
make clean
: Cleans up the current directory of all files that can be generated from the source files (call anywhere in the source tree).
make doc
: Builds the documentation. Requires the program doxygen
.
Generated on Tue Jan 23 21:12:26 2007 for BTnut System Software by
1.4.7