Description
I don't know how recently the ability to use the Arduino IDE from the command line with arguments like --upload
and --port
was introduced, but this is very helpful. I think the next step is to document these arguments in a --help
message and/or in a manual page. The ability to get the IDE version with a --version
command would also be useful.
P.S. I can find no documentation which tells me how to specify the board on the command line. It would be nice to have such documentation. Somewhere it says I should specify "--board package:arch:board" but I don't know where to get "package", "arch", and "board" for a given selection in the "Boards Manager". At least an example would help.
P.P.S. See also http://arduino.stackexchange.com/questions/15893/how-to-compile-upload-and-monitor-via-the-linux-command-line/24802#24802
Activity
q2dg commentedon Jul 4, 2016
Well, there is https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc
archenemies commentedon Jul 4, 2016
Thank you, that's interesting. I remember seeing that page before and then I forgot about it.
So... I don't see this file in my
arduino-nightly
tarball. any idea why?I guess I need to tell the folks who made my arduino AUR package that the manpage should be installed in a standard location; but first I should tell them where to find it.
(Also it looks like the AUR package is maintainerless, as of today...!)
nicrip commentedon Jul 18, 2016
Is there a list of supported boards for the --board option? I am using a Pro 3.3V 8MHz Atmega328.
VictorLamoine commentedon Mar 16, 2017
The man page is outdated:
It says the progam does not take any option, which is not true anymore!
q2dg commentedon Mar 16, 2017
@VictorLamoine Maybe this is because it's man page from a distribution package. Last man page I think it's https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc (as I said above).
VictorLamoine commentedon Mar 17, 2017
Ah right, I installed the latest Arduino release but I didn't realize the man page I was reading was from the Ubuntu repositories (= old version).
Sorry for the useless comment!
per1234 commentedon Sep 25, 2020
--version
option was added by #7549.The requested
--help
option is still missing.