/ MCUME_esp32 / espsnd / flashapp.sh
flashapp.sh
1  #!/bin/bash
2  . ${IDF_PATH}/add_path.sh
3  esptool.py --chip esp32 --port "/dev/cu.SLAB_USBtoUART" --baud $((230400*4)) write_flash -fs 4MB 0x080000 ../espsnd/build/espsnd.bin