Go Down

Topic: Open-source command line Arduino sketch compiler & uploader (Read 2737 times) previous topic - next topic


Jan 25, 2013, 07:06 am Last Edit: Sep 05, 2013, 08:29 pm by Coding Badly Reason: 1
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


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)
My Arduino blog: http://arduinodev.com/blog


looks like a great tool!

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



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.



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.
My Arduino blog: http://arduinodev.com/blog


As it is open source, you can grab the source and compile yourself.
My Arduino blog: http://arduinodev.com/blog


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

Go Up