7 lines
137 B
Bash
Executable File
7 lines
137 B
Bash
Executable File
#!/bin/bash
|
|
#esptool.py erase_flash
|
|
esptool.py -b 921600 write_flash -fm qio 0 $1
|
|
if [[ $? -eq 0 ]]; then
|
|
screen /dev/ttyUSB0 115200
|
|
fi
|