upload
Compile and flash an Arduino sketch to a connected board; close Serial Monitor first to free the port. FQBN and port can be omitted if saved with board-attach.
Instructions
Compile (if needed) and flash a sketch to a connected board. fqbn/port can be omitted if saved with board-attach. Close Serial Monitor first — it locks the port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqbn | No | Board FQBN, e.g. 'arduino:avr:uno'. Omit if set via board-attach. | |
| port | No | Upload port, e.g. 'COM3'. Omit if set via board-attach. | |
| verify | No | Verify flash after upload (default false) | |
| verbose | No | Verbose uploader output | |
| sketchPath | Yes | Path to sketch folder or .ino file | |
| boardOptions | No | Board options, e.g. 'cpu=atmega328old' | |
| additionalUrls | No | Extra board-manager URLs |