#!/bin/bash


# arduino-cli compile --fqbn esp32:esp32:m5stick-c --export-binaries M5StickCPlus_FactoryTest2022.ino 

# get folder name, and set to [dir] variable. 
dir=${PWD##*/}
arduino-cli compile --fqbn esp32:esp32:m5stick-c --export-binaries ${dir}.ino
