Newer
Older
OurSketch / SampleSrc / TestBuild / compile.sh
@motoki miura motoki miura on 10 May 2022 258 bytes SampleSource
#!/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