duino - Command-line toolkit for working with Arduino boards
duino COMMAND [OPTIONS]
- List the supported Arduino models:
$ duino models
- Build a sketch:
$ duino build --board uno
- Upload the sketch to the Arduino:
$ duino upload --board uno --port /dev/ttyACM0
- Build and upload a given sketch file:
$ duino build --board uno some_sketch.ino $ duino upload --board uno --port /dev/ttyACM0 some_sketch.ino
- Upload a previously built hex file:
$ duino upload --board uno some_file.hex
- Communicate with the Arduino:
$ duino com --port /dev/ttyACM0
- Clean the build directory:
$ duino clean --board uno
duino is a command-line toolkit for working with Arduino boards that can replace the Arduino IDE. It can be either used directly on the command-line or integrated into third-party IDEs. With duino you can quickly build and upload sketches to a variety of Arduino boards, and communicate with them using the built-in serial monitor.
To work it needs the Arduino software environment that can be found on the Arduino website, or in most package repositories (e.g. the
arduino-core package on Debian/Ubuntu).
List all known Arduino models.
Build an Arduino sketch.
Upload a sketch to an Arduino.
Clean the build directory.
Open a serial monitor to an Arduino
Per-project configurations can be specified in the
duino.ini file under the project directory. Valid configurations are:
The Arduino board model.
A list of non-core libraries needed by the project.
board = leonardo libs = Wire Wire/utility SPI SD SD/utility
Alessandro Ghedini <firstname.lastname@example.org>
LICENSE AND COPYRIGHT
Copyright 2013 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.