Newer
Older
OurSketch / upload.sh
@motoki miura motoki miura on 18 Mar 2022 137 bytes first commit
#!/bin/bash

serial=`ls /dev/ | grep cu.usbserial`
echo ${serial}

arduino-cli upload --fqbn esp32:esp32:m5stick-c -p /dev/${serial} "."