Boo0ns / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

CLI Tools #473

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see? A simple set of CLI options.

Why? I share a house with multiple Arduino users. Rather than each of us buying 
an Arduino we share 1. Until one of us finds a permanent use, anyway. Sharing a 
single resource is greatly improved when automation is introduced. If the 
Arduino IDE had command line options to take a filename, and directive (verify, 
upload, both), a simple script could be written to process a folder of pde's. 
CLI usage has been brought up a few times in the forums, but a definitive 
solution hasn't been found. I expect this added functionality would also be 
useful to lower education institutions, allowing each student to use their own 
computer, while sharing 1 or more Arduinos.

Would this cause any incompatibilities with previous versions? No. If so, how 
can these be mitigated?

Original issue reported on code.google.com by CyberSta...@gmail.com on 7 Feb 2011 at 10:13

GoogleCodeExporter commented 9 years ago
This is an idea that could empower all sorts of extensions of the IDE in lots 
of ways. Here are a couple that come to mind for me.

vim would be so much more comfortable to use as an IDE if I could just issue a 
command from the command line. I'd save bouncing around various keys. From vim, 
I envision in typing ' :! arduino upload % ' and seeing the upload/dnload 
lights flashing away as arduino's software compiles and uploads the sketch I'm 
working on in vim without me having to have it also open in the arduino IDE. 
Certainly other editors would find cmd line arguments easier to integrate with 
as well and could even include their own buttons for this purpose.

Also, I could have a shell script that I could run to upload which ever sketch 
I like to a toy project I'm working on. I'm thinking something like "press 1 
for kids difficulty levels" or "press 2 for adult difficulty levels". Then I 
could easily setup this toy to be have various difficulty levels without taking 
up what would be a rarely used switch or something like that.

Original comment by josiah.ritchie on 5 Mar 2011 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 24 May 2011 at 4:24