mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 03:24:04 +00:00
31 lines
765 B
Plaintext
31 lines
765 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# arduino-builder
|
|
|
|
> Compile 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 (default: 5):
|
|
|
|
`arduino-builder -debug-level {{1..10}}`
|
|
|
|
- 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}}`
|