Merge branch 'fix/run_esptool_absolute_path_v3.3' into 'release/v3.3'

project_include.cmake: Make esptool_py_custom_target callable from other directories (v3.3)

See merge request espressif/esp-idf!7711
This commit is contained in:
Mahavir Jain 2020-02-20 19:38:32 +08:00
commit 3359e063a3

View file

@ -133,7 +133,7 @@ function(esptool_py_custom_target target_name flasher_filename dependencies)
-D ESPTOOLPY="${ESPTOOLPY}"
-D ESPTOOL_ARGS="write_flash;@flash_${flasher_filename}_args"
-D ESPTOOL_WORKING_DIR="${IDF_BUILD_ARTIFACTS_DIR}"
-P run_esptool.cmake
-P ${IDF_PATH}/components/esptool_py/run_esptool.cmake
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
USES_TERMINAL
)