Skip to main content

arduino-sketch lets you compile and upload Arduino Sketches without the IDE. Just use your favorite editor to write the Arduino .ino files and call arduino-sketch my.ino -u.

Usage

arduino-sketch my.ino will compile the my.ino file. It remembers the name of your sketch, so you can just call arduino-sketch the next time.

See arduino-sketch –help for more info.

Configuration

arduino-sketch uses local configuration (.arduino_sketch) and a user configuration (~/.arduino_sketch). Some configuration options are:

arduino_dir:

Path to the Arduino core directory. Should contain the hardware and tools directory.

avr_tools_path:

Path to avr-xxx binaries.

arduino_port:

The Arduino serial device. Defaults to /dev/ttyUSB*, but this will only work if you have a single USB serial device attached.

board_tag:

The name/type of the Arduino. See –list-boards and –board options.

Install

arduino-sketch is [registered at the Python Package Index (PyPi)](http://pypi.python.org/pypi/arduino-sketch), so you can install it with pip or easy_install.

You will still need the core components of Arduino 1.0 or higher. Note that arduino-core on Debian 6.0 is <1.0. [See here on how to install a package from Debian testing.]( http://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing)

For example on Debian:

sudo aptitude install arduino-core python-pip libyaml-perl sudo pip install arduino-sketch

To uninstall:

sudo pip uninstall arduino-sketch

License

arduino-sketch is licensed under the MIT license. It ships with Arduino.mk and ard-parse-boards which are licensed under LGPL 2.1.

Metadata

Release files for arduino-sketch 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arduino-sketch 0.2
File Size Uploaded
arduino-sketch-0.2.tar.gz 11.6 kB Details

Release files / arduino-sketch-0.2.tar.gz

Download URL arduino-sketch-0.2.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7e64066c8ddc50c72a4e68b63179068ddcb1f92b04ade6ca6156e83a0fd2dc2c
BLAKE2b-256 checksum
How to use checksums
13993cf0471e2113755a659a04819d218651a6c3d74e0c165e88892fef2609f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page