BeeBoard has been designed to work in harmony with the FoxBoard. This article illustrates how to install the Arduino Environment on the FoxBoard G20.
Through this guide, you can compile codes and upload it to the i/o board.
Debian Lenny package of avrdude do not have support for ATmega328P, so download version 5.6 and compile it.
apt-get install make bison byacc flex gawk wget http://download.savannah.gnu.org/releases/avrdude/avrdude-5.6.tar.gz tar -zxvf avrdude-5.6.tar.gz cd avrdude-5.6 cp avrdude.conf /etc/ ./configure make make install
Otherwise Squeeze have version 5.10 so just install it from packages:
apt-get install avrdude
Install compiler and download Arduino Sources:
apt-get install gcc-avr avr-libc wget http://arduino.googlecode.com/files/arduino-0022-src.tar.gz tar -xzvf arduino-0022-src.tar.gz mkdir /usr/share/arduino cp -pr arduino-0022/hardware /usr/share/arduino/ cp -pr arduino-0022/libraries /usr/share/arduino/
Makefile allows you to build sketches from the command line without the Arduino environment (or Java). It is modified to adapt to ATmega328, library path, serial port device and some other changes to align it with the 0022 version. Download it:
git clone https://github.com/Madefree/arduinoMakefile.git
Copy Makefile into the folder with your sketch. There should be a file with the same name as the folder and with the extension .pde (e.g. foo.pde in the foo/ folder). At the command line, change to the directory containing your program's file and the makefile. Open Makefile and check parameter PORT like serial device you use (ttyUSB0, ttyS2, etc.). Compile and upload your program:
make make upload
apt-get install vim
Note: In Squeeze the Vim syntax folder is: /usr/share/vim/vim72/syntax/
|
|
Atmel© Certified Partner |
Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind.
The mantainer of this site (Sergio Tanzilli), has gone to a great deal
of effort into making this documentation as correct as possible.
Acme Systems doesn't provide any direct support for the Open Source preinstalled software but provides, through
these pages and forum posts, all the information required to obtain the sources, install, use and update the
Open Source softwares runnable on the FOX Board, NetusG20, AriaG25 and Terra platforms.
Please note that all the preinstalled softwares, used on the Acme Systems products, are Open Source and you will
have to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial
product, by yourself.
Before sending emails or calling the Acme staff here are our contacts
please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS so could be better to post
your questions directly to the forum listed below to be sure that all the contributors of this site and
the large software developers community will read and reply to your questions.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.