1#!/usr/bin/env bash 2cd build 3python $IDF_PATH/components/esptool_py/esptool/esptool.py -p $1 write_flash @flash_project_args 4python $IDF_PATH/tools/idf_monitor.py -p $1 idf_as_lib.elf 5