Skip to content

Instantly share code, notes, and snippets.

@fitsum
Last active March 3, 2024 05:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitsum/9bb6e4830a4fdff14f8c86b5b77ffd8f to your computer and use it in GitHub Desktop.
Save fitsum/9bb6e4830a4fdff14f8c86b5b77ffd8f to your computer and use it in GitHub Desktop.
sample cli command for compiling and uploading to trinket pro with required args|props|...

commands

  • arduino-cli compile --fqbn adafruit:avr:protrinket5 [project name]
  • arduino-cli upload -P usbtinyisp --fqbn adafruit:avr:protrinket5 [project name]

pre-reqs

  • arduino-cli core install adafruit:avr
  • (linux) arduino-cli core install arduino:avr
  • (linux, maybe) install udev rules for trinket pro + restart udev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment