Skip to content

Instantly share code, notes, and snippets.

View runningdeveloper's full-sized avatar

Geoffrey Hunt runningdeveloper

View GitHub Profile
@runningdeveloper
runningdeveloper / make-arduino-how.md
Last active March 28, 2022 15:02
Script to make an Arduino IDE project from a PlatformIO project

Why

Your friends are comfortable in the Arduino IDE, but you using vscode and PlatformIO because it is easier (libraries, config and shortcuts). So you need to give them an ino file and the correct versions of the libraries. And you want to eliminate them from running an incorrect version the project.

Usage

Only tested on a Mac using zsh.

  1. Paste the make-arduino.sh into the root of your PlatformIO project. Give it execute permissions if needed chmod u+x make-arduino.sh.
  2. Then adjust the script with the project name and any string replacements you need.