#!/bin/bash echo -e "\nErasing flash on $ESPPORT\n" esptool --port $ESPPORT --baud $ESPBAUD --chip $ESPTARGET erase_flash echo -e "\nAll done :3\n"