Home

Awesome

Arduino plugin - Very WIP - you've been warned

Build, upload and monitor arduino sketches from zsh. Reuses .vscode/arduino.json if available else you can set env vars.

Usage

  1. In a sketch folder, run ar_build
  1. Setting compile time vars
  1. You can just run ar_upload directly - if a binary (AR_BIN) isn't set, then it will build & upload

Needs

  1. arduino-cli
  2. jq - sudo apt install jq

Setup

zplug

Manual - Git

  1. clone this somewhere in your $FPATH
  2. Source plugin.zsh from your startup scripts
  3. In your sketch folder, following are available
    • ar_build, ar_upload, ar_env, ar_serial