export-binary
Compile an Arduino sketch and export firmware files (.hex/.bin/.elf) to a folder for flashing with external tools, OTA updates, or archiving builds.
Instructions
Compile a sketch and export the firmware files (.hex/.bin/.elf) to a folder. Use for flashing with external tools, OTA updates, or archiving builds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqbn | No | Board FQBN, e.g. 'arduino:avr:uno'. Omit if set via board-attach. | |
| outputDir | No | Export folder. Defaults to '<sketch>/firmware'. | |
| sketchPath | Yes | Path to sketch folder or .ino file | |
| boardOptions | No | Board options, e.g. 'cpu=atmega328old' | |
| additionalUrls | No | Extra board-manager URLs (ESP32 etc.) |