esp-idf/examples/build_system/cmake/idf_as_lib/run-esp32.sh
2019-05-14 18:01:14 +08:00

4 lines
175 B
Bash
Executable File

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