The Ang build toolThe purpose of the project is to provide a library and application for processing, building and uploading Arduino(c) sketches directly from the commandline.
I tried to be as concise as possible in the user interface. There is only a small set of 14 commands to be learned. If you still get lost there is the help command to get you back on track.
Now, here is a transcript of a session that compiles and burns the infamous Blink-sketch (with an In-System programmer, no bootloader involved)
java -jar ang.jar compile ~/sketchbook/Blink atmega328
java -jar ang.jar upload ispmk2 usb ~/sketchbook/Blink atmega328I put the software into quiet-mode for this. As long as there are no problems the commandline will not even nod at you. But if you really ask for it (think : debug-mode) here is some reading for long winter evenings : debug transcript.
I originally wrote this software in order to create Arduino sketches without having to leave emacs for compiling and uploading the code. I decided to write a commandline tool because it seems to me the most portable way to interface this package with other editors or build-tools.
The code is written in Java and can be used a library too, in case someone wants to write an ant-task (which is already on my long-term todo list) or an eclipse-plugin (which will never be on my list).
FeaturesThe current version (0.1.1) supports
compiling Arduino sketches uploading sketches using the bootloader on a board uploading sketches with an In-System programmer (currently only AVRIspMK2) burning a bootloader on a atmega with an In-System programmer (currently only AVRIspMK2) supported Operating Systems Linux Windows XP Windows Vista tested Arduino hardware (see supported hardware why the list is so short) Arduino NG rev.C Arduino NG rev.C with a atmega328p Arduino Mega Arduino Nano 3.0 (with atmega328p)
Where do I start ?Download and install a binary release of the software Learn about basic Ang commands Read the full Ang command reference
Read the FAQ Arduino is a trademark of the Arduino Team. See Arduino Hompage for the list of team members.
These details are provided for information only. No information here is legal advice and should not be used as such.