diff --git a/tools/esp32/Makefile b/tools/esp32/Makefile index 39784a56a9..1761f60fb8 100644 --- a/tools/esp32/Makefile +++ b/tools/esp32/Makefile @@ -41,7 +41,7 @@ ${IDF_PATH}: mkdir -p ${ESP_PATH} echo "WARNING:this directory can be automatically removed" > ${ESP_PATH}/README cd ${ESP_PATH} && \ - ls esp-idf || git clone -b master --recursive https://github.com/espressif/esp-idf.git && \ + ls esp-idf || git clone -b v4.1 --recursive https://github.com/espressif/esp-idf.git && \ cd ${IDF_PATH} && \ ./install.sh