From 93d1d996b7bc0a766621c8536b595e5ec6d30377 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 24 Oct 2022 10:44:24 +0200 Subject: [PATCH] feat(tools): add espsecure.py to the Windows export scripts This is not needed on Linux/macOS where the path to esptool directory is added to PATH. --- export.bat | 1 + export.ps1 | 1 + 2 files changed, 2 insertions(+) diff --git a/export.bat b/export.bat index f5a46cee06..8210b40c5d 100644 --- a/export.bat +++ b/export.bat @@ -49,6 +49,7 @@ if not "%PATH_ADDITIONS%"=="" echo %PATH_ADDITIONS:;=&echo. % DOSKEY idf.py=python.exe "%IDF_PATH%\tools\idf.py" $* DOSKEY esptool.py=python.exe "%IDF_PATH%\components\esptool_py\esptool\esptool.py" $* DOSKEY espefuse.py=python.exe "%IDF_PATH%\components\esptool_py\esptool\espefuse.py" $* +DOSKEY espsecure.py=python.exe "%IDF_PATH%\components\esptool_py\esptool\espsecure.py" $* DOSKEY otatool.py=python.exe "%IDF_PATH%\components\app_update\otatool.py" $* DOSKEY parttool.py=python.exe "%IDF_PATH%\components\partition_table\parttool.py" $* diff --git a/export.ps1 b/export.ps1 index a1e5bd6d35..af35dceb65 100644 --- a/export.ps1 +++ b/export.ps1 @@ -53,6 +53,7 @@ foreach ($pair in $envars_array) { # Allow calling some IDF python tools without specifying the full path function idf.py { &python "$IDF_PATH\tools\idf.py" $args } function espefuse.py { &python "$IDF_PATH\components\esptool_py\esptool\espefuse.py" $args } +function espsecure.py { &python "$IDF_PATH\components\esptool_py\esptool\espsecure.py" $args } function otatool.py { &python "$IDF_PATH\components\app_update\otatool.py" $args } function parttool.py { &python "$IDF_PATH\components\partition_table\parttool.py" $args }