pinebuds/download.sh

10 lines
225 B
Bash
Raw Normal View History

2022-08-15 20:30:33 -05:00
#! /bin/bash
num=$(ls -l /dev/ttyUSB* | rev | cut -c 1)
2022-09-02 22:58:51 -05:00
#num=3
2022-08-15 20:30:33 -05:00
echo com is:$num
2022-09-02 22:58:51 -05:00
#sudo -S dldtool -c $num -f out/2300_open_source/2300_open_source.bin
2022-08-15 20:30:33 -05:00
sudo -S dldtool -c $num -f out/mic_alg/mic_alg.bin
sudo minicom port$num