Skip to content

Add more explanation about --board parameters at manpage.adoc #8716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AnnyCaroline opened this issue Mar 28, 2019 · 2 comments
Closed

Add more explanation about --board parameters at manpage.adoc #8716

AnnyCaroline opened this issue Mar 28, 2019 · 2 comments
Labels
Component: CLI The Arduino IDE's command line interface Component: Documentation Related to Arduino's documentation content

Comments

@AnnyCaroline
Copy link

Hi everyone,

I'm using manpage.adoc as my guide to use Arduino IDE via command line.

It would be awesome if the guide provides more information about the parameters used with --board option, for example, a list of the possible parameters and example of usage.

@per1234 per1234 added Component: Documentation Related to Arduino's documentation content Component: CLI The Arduino IDE's command line interface labels Mar 28, 2019
@per1234
Copy link
Collaborator

per1234 commented Mar 28, 2019

a list of the possible parameters

There's no way to list the possible parameters because anyone who makes a board definition can add any parameters they like. There is no standardization imposed on the parameters.

This is somewhat related to: arduino/arduino-cli#138
In my reply there, I described how you could determine the parameters from looking at the boards.txt entry for the target board, or how you can more easily get the complete FQBN via the Arduino IDE's GUI:
arduino/arduino-cli#138 (comment)


and example of usage.

There is one already here: https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc#examples

Compile and upload a sketch to an Arduino Nano, with an Atmega168 CPU, connected on port /dev/ttyACM0:
arduino --board arduino:avr:nano:cpu=atmega168 --port /dev/ttyACM0 --upload /path/to/sketch/sketch.ino

@AnnyCaroline
Copy link
Author

Really Thanks. This helped me a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: CLI The Arduino IDE's command line interface Component: Documentation Related to Arduino's documentation content
Projects
None yet
Development

No branches or pull requests

2 participants