Open-source command line Arduino sketch compiler & uploader

I've developed a command line utility to compile Arduino sketch and upload to Arduino boards without the need of Arduino IDE. This is developed mainly for applications which generate code for Arduino and requires to perform compiling and uploading. Arduino Leonardo and Esplora are supported.

Command Line Syntax

ArduinoUploader [sketch/HEX file] [board type] [serial port/usbasp]

Board types:
1 - Arduino Uno
2 - Arduino Leonardo
3 - Arduino Esplora
4 - Arduino Duemilanove (328)
5 - Arduino Duemilanove (168)
6 - Arduino Nano (328)
7 - Arduino Nano (168)
8 - Arduino Micro
9 - Arduino Mini (328)
10 - Arduino Mini (168)
11 - Arduino Pro Mini (328)
12 - Arduino Pro Mini (168)
13 - Arduino Mega 2560/ADK
14 - Arduino Mega 1280
15 - Arduino Mega 8

Examples

Compile and upload Blink.ino to Arduino UNO:

ArduinoUploader Blink.ino 1 COM4 (Windows)
ArduinoUploader Blink.ino 1 /dev/ttyUSB0

Burn bootloader for Arduino Pro Mini 168 via USBASP

ArduinoUploader optiboot_atmega168.hex 9 usbasp

Link: (removed pending review by moderator)

looks like a great tool!

does it work with multiple files and/or external libraries too?

best,
j

I attempted to download and run the installer programs, it triggered lots of messages from my maleware and windows defender programs, added lots of stuff to the windows desktop. Not saying it's bad/malicious or whatever, could just be my machine or windows awareness, but I just ended up going back to my back-up hard drive of my windows machine.

Hopefully someone can look into as it seems it would be a handy arduino utility program to have on hand. On the other hand if there is 'problems' with this download/installer program this posting might need some attention from the moderators.

Lefty

Are you downloading from the official source? I guess not. Because it release a zip file, so it won't add anything to your system.

As it is open source, you can grab the source and compile yourself.

Has your web site been hacked then. It contains a big green "download now" arrow.