You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pre Bug Report Checklist
Before reporting any bug please make sure of these points.
Make sure you have searched for existing bugs and features request before you post an issue.
This is a bug report for the ESP-IDF Visual Studio Code extension and not an ESP-IDF bug report.
I've read the docs and found no information that could have helped solving the issue.
Describe the bug
When building a project using DFU as the flash method, the extension tries to execute C:\Users\[user]\espmaster\esp-idf\tools\mkdfu.py
without specifying the python exe path first. Resulting in an attempt to run the file with the program that is associated with the file type "py" (Windows OS).
To Reproduce
Create a new ESP32-S2 project. Can use hello_world as template.
Build with method UART then build with method DFU. See terminal and note how system executes mkdfu.py . If you have notepad associated with .py then it will open there.
Expected behavior
Expecting to specify the path to C:\Users\[username]\.espressif\python_env\idf5.0_py3.8_env\Scripts\python.exe
as first parameter of execution. Just like when calling idf_size.py for example.
The text was updated successfully, but these errors were encountered:
ayavilevich
added
the
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
label
Jun 1, 2022
Pre Bug Report Checklist
Before reporting any bug please make sure of these points.
Describe the bug
When building a project using DFU as the flash method, the extension tries to execute
C:\Users\[user]\espmaster\esp-idf\tools\mkdfu.py
without specifying the python exe path first. Resulting in an attempt to run the file with the program that is associated with the file type "py" (Windows OS).
To Reproduce
Create a new ESP32-S2 project. Can use hello_world as template.
Build with method UART then build with method DFU. See terminal and note how system executes mkdfu.py . If you have notepad associated with .py then it will open there.
Expected behavior
Expecting to specify the path to
C:\Users\[username]\.espressif\python_env\idf5.0_py3.8_env\Scripts\python.exe
as first parameter of execution. Just like when calling idf_size.py for example.
Screenshots / terminal output
DFU
UART
Environment (please complete the following information):
Output
Nothing relevant in output
Logs
Nothing relevant in log
Extension Configuration settings
The text was updated successfully, but these errors were encountered: