project_include.cmake: Make esptool_py_custom_target callable from other directories
This commit is contained in:
parent
59f2b3f036
commit
b57134d21e
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,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="${CMAKE_CURRENT_BINARY_DIR}"
|
||||
-P run_esptool.cmake
|
||||
-P ${IDF_PATH}/components/esptool_py/run_esptool.cmake
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue