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/ttyACM0
  arduino-cli board attach serial:///dev/ttyACM0 HelloWorld
  arduino-cli board attach arduino:samd:mkr1000

Options

  -h, --help             help for attach
      --timeout string   The connected devices search timeout, raise it if your board doesn't show up (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, warn, error, fatal, panic
  -v, --verbose                   Print the logs on the standard output.

SEE ALSO

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