1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 05:22:09 +02:00
tldr/pages/common/arduino-builder.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

672 B

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}}