Project

General

Profile

Up

Next

Installation

Dependencies

The only required external dependency is the avr-gcc cross compiler, available on most platforms. You also need the tiny avr-libc C library. Check your system documentation for getting these software.

Compiling

The package uses the autoconf framework to build and install itself. Simply run the bundled configure script to compile and install the software. For instance:

% ./configure --prefix=$HOME/devel
% make install

You can check the autoconf online documentation for more help.

Note To generate the configure script, you have to run autoreconf in the source tree if you got the sources from the git repository instead of a tarball.

Files

The package installs mainly two files in your installation prefix:

  • <prefix>/lib/arduio-firmware/uno, for the Arduino Uno board.

  • <prefix>/lib/arduio-firmware/nano, for the Arduino Nano board.

  • <prefix>/lib/arduio-firmware/mega2560, for the Arduino Mega 2560 board.

Flashing

In order to program the board, you have to upload the programs in the microcontroller flash memory. This can be done with the avrdude program as for any arduino software. For instance, use a command line similar to:

# for a arduino UNO
% avrdude -c arduino -p m328p -P /dev/ttyACM0 -U flash:w:uno

# or for a arduino NANO
% avrdude -c arduino -p m328p -b 57600 -P /dev/ttyUSB0  -U flash:w:nano

# or for a arduino MEGA 2560
% avrdude -c wiring -p m2560 -D -P /dev/ttyACM0  -U flash:w:mega2560