1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 19:02:09 +02:00
tldr/pages/common/arduino-builder.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

25 lines
710 B
Markdown

# arduino-builder
> A command-line tool for compiling arduino sketches.
> DEPRECATION WARNING: This tool is being phased out in favor of `arduino`.
> More information: <https://github.com/arduino/arduino-builder>.
- Compile a sketch:
`arduino-builder -compile {{path/to/sketch.ino}}`
- Specify the debug level (1 to 10, defaults to 5):
`arduino-builder -debug-level {{level}}`
- Specify a custom build directory:
`arduino-builder -build-path {{path/to/build_directory}}`
- Use a build option file, instead of specifying `--hardware`, `--tools`, etc. manually every time:
`arduino-builder -build-options-file {{path/to/build.options.json}}`
- Enable verbose mode:
`arduino-builder -verbose {{true}}`