Skip to content

board attach

arduino-cli board attach

Attaches a sketch to a board.

Synopsis

Attaches a sketch to a board.

arduino-cli board attach <port>|<FQBN> [sketchPath] [flags]

Examples

  arduino-cli board attach serial:///dev/tty/ACM0
  arduino-cli board attach serial:///dev/tty/ACM0 HelloWorld
  arduino-cli board attach arduino:samd:mkr1000

Options

  -h, --help             help for attach
      --timeout string   The timeout of the search of connected devices, try to high it if your board is not found (e.g. to 10s). (default "5s")

Options inherited from parent commands

      --additional-urls strings   Additional URLs for the board manager.
      --config-file string        The custom config file (if not specified the default will be used).
      --format string             The output format, can be [text|json]. (default "text")
      --log-file string           Path to the file where logs will be written.
      --log-format string         The output format for the logs, can be [text|json].
      --log-level string          Messages with this level and above will be logged. Valid levels are: Trace, Debug, Info, Warning, Error, Fatal, Panic
  -v, --verbose                   Print the logs on the standard output.

SEE ALSO

Auto generated by spf13/cobra on 19-May-2020