diff --git a/scripts/examples/esp_example.sh b/scripts/examples/esp_example.sh index ae021cb103e9c5..1156b8de44f8ce 100755 --- a/scripts/examples/esp_example.sh +++ b/scripts/examples/esp_example.sh @@ -40,10 +40,6 @@ for sdkconfig in "$root"/sdkconfig*.defaults; do ( cd "$root" idf.py -D SDKCONFIG_DEFAULTS="$sdkconfig_name" build - ) - ( - cd "$root" - idf.py build "$@" ) || { echo "build $sdkconfig_name failed" exit 1