Newer
Older
M5StickCPlus_FactoryTest2022 / compile.sh
@miura250 miura250 on 24 Mar 2022 258 bytes Update compile.sh
#!/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