esp-idf/examples/build_system/cmake/idf_as_lib/run-esp32p4.sh
2023-08-09 19:33:36 +08:00

5 lines
172 B
Bash

#!/usr/bin/env bash
cd build
python $IDF_PATH/components/esptool_py/esptool/esptool.py -p $1 write_flash @flash_project_args
python -m esp_idf_monitor -p $1 idf_as_lib.elf