When we try to configure COM with ESP IDF extention in VSCode, it might return error “no such file or directory, stat ‘c:\Users\ag\esp\v5.1\esp-idf\components\esptool_py\esptool\esptool.py’”
Troubleshooting
When we search esptool.py in espressif/vscode-esp-idf-extension github repo, we will see the extention used enviroment variable of IDF_PATH to locate the file.
Resolution
Configure “ESP-IDF” version which will initialize IDF_PATH environment variable before select COM.
文档信息
- 本文作者:Robin Chen
- 本文链接:https://crushonme.github.io/2025/05/08/Failed-to-configure-COM-With-ESP-IDF-Extention-in-VSCode/
- 版权声明:自由转载-非商用-非衍生-保持署名(创意共享4.0许可证)
Document Information
- Author :Robin Chen
- Link : https://crushonme.github.io/2025/05/08/Failed-to-configure-COM-With-ESP-IDF-Extention-in-VSCode/
- Copyright:Attribution-NonCommercial-NoDerivatives-No additional restrictions(CC BY-NC-ND 4.0)
Gitalking ...