Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zsh plugin for arduino build, upload and monitor

License

NotificationsYou must be signed in to change notification settings

raghur/zsh-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, runar_build
  • If you have.vscode/arduino.json, then all flags - espfqbn is pulled in from there.
  1. Setting compile time vars
  • ar_build stm32-nrf24tx02.ino --build-properties='compiler.cpp.extra_flags=-DDEBUG
  1. You can just runar_upload directly - if a binary (AR_BIN) isn't set, then it will build & upload
  • to force build, usear_build; ar_upload

Needs

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

Setup

zplug

  • zplug "raghur/zsh-arduino"

Manual - Git

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

About

zsh plugin for arduino build, upload and monitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp