Using the method from @cemeyer (https://github.com/espressif/esp-idf/pull/3166): find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} + Closes https://github.com/espressif/esp-idf/pull/3166.
4 lines
184 B
Bash
Executable file
4 lines
184 B
Bash
Executable file
#!/usr/bin/env 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
|