Comments on: Programming ESP32 with ESP-IDF using VS Code – Getting Started Guide https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 25 Mar 2026 09:13:24 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: CJVienna https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1172391 Wed, 25 Mar 2026 09:13:24 +0000 https://randomnerdtutorials.com/?p=170029#comment-1172391 In reply to Rui Santos.

Hi, I’m using a PC with Windows 11 and currently have Python 3.13.12 installed.

The ESP-IDF installation via EIM comes with IDF 6.0.

The Python installation was done using the latest Python Manager 26.0, which would install Python 3.14 by default. The espressif prerequisites document (docs.espressif.com/projects/idf-im-ui/en/latest/prerequisites.html) states that 3.14 is not (yet) supported under Windows. Running ‘py install 3.13’ then installs the latest version of 3.13 – currently 3.13.12.

]]>
By: Rui Santos https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1172008 Tue, 24 Mar 2026 15:36:00 +0000 https://randomnerdtutorials.com/?p=170029#comment-1172008 In reply to CJVienna.

Thanks for letting me know Chris.
Are you using Windows PC, right? I want to check everything with a fresh installation.
Which version of Python did you end up installing?

]]>
By: CJVienna https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1171533 Sun, 22 Mar 2026 19:17:51 +0000 https://randomnerdtutorials.com/?p=170029#comment-1171533 Thank you for this great tutorial, but…

…things change over time. Perhaps you could update the tutorial when you have a chance!

There are new Python versions, and the latest one is installed by default. But be aware! Currently, the Windows ESP-IDF extensions are not yet compatible with Python 3.14.
The current ESP-IDF extension (version 2.0.2) comes with a changed installation method: an Extension Manager (EIM) that can be started via IDF Explorer… Advanced… Open ESP-IDF Installation Manager. However, it only completed successfully for me when VS Code was run with administrator privileges; otherwise, it got stuck at 85%.
After completion, EIM reported that a new project needed to be created in the workspace via the IDF Terminal Window. I ignored this and subsequently had to struggle with the error message “there is no data provider registered that can provide view data” for a long time when opening the IDF Explorer. The reason is that VS Code only activates the extension for a directory if the directory opened via “open folder” has a valid IDF project structure. This folder must therefore contain a CMakeLists.txt file and a subdirectory named “main”. And that’s exactly what’s set up when you create a new project and navigate to this directory using “open folder”.

Good luck!

Chris

]]>
By: Sara Santos https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1163958 Mon, 23 Feb 2026 16:59:59 +0000 https://randomnerdtutorials.com/?p=170029#comment-1163958 In reply to Fernando.

Thanks for your suggestion.
Regards,
Sara

]]>
By: Fernando https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1163083 Thu, 19 Feb 2026 21:56:37 +0000 https://randomnerdtutorials.com/?p=170029#comment-1163083 Great tutorial as always! Regarding suggestions, if you ever release a course-tutorial dealing with CMake, I would surely look forward to get it.
Thanks.

]]>
By: Hartmut https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1157301 Fri, 30 Jan 2026 20:07:41 +0000 https://randomnerdtutorials.com/?p=170029#comment-1157301 I’d try ESP32.

]]>
By: Zoltan https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1156988 Thu, 29 Jan 2026 19:38:25 +0000 https://randomnerdtutorials.com/?p=170029#comment-1156988 Dear All,
I have a NodeMCU-ESP-32S board.
hestore.hu/prod_10037961.html
Could you please help me which target device should I choose exactly in my hello_world project?
Thank you in advance for your help.
BZoltan

]]>
By: Don Chapman https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1107731 Thu, 09 Oct 2025 08:09:25 +0000 https://randomnerdtutorials.com/?p=170029#comment-1107731 This looks a lot like the problem I had when I first installed esp-idf on Windows 10 and using ESP32-S2 Mini. It was problem with Python. I reinstalled Python 3.13 and deleted earlier Pythons from my path. Problem solved for me. It looks like you’re using Python 3.10. You might try upgrading to 3.13 or the recently released 3.14.

No guarantees this will fix your issue, but it’s something to try.

]]>
By: cem tuzun https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1107433 Wed, 08 Oct 2025 12:27:33 +0000 https://randomnerdtutorials.com/?p=170029#comment-1107433 Hi, I followed every step exactly as described in the article and I’m also using an ESP-WROOM-32. Everything looks fine up until flashing, but when I try to flash the board I consistently get an MD5 fatal error like the one below. I’m confident it’s not a hardware issue with my board, because I reproduced the same error on another ESP-WROOM-32 of the same revision.

Do you have any recommendations, or have you encountered this before?
(Note: I’m on Ubuntu 22.04 using the VS Code ESP-IDF extension.)

“esptool.py v4.10.0
Serial port /dev/ttyUSB0
Connecting…..
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: ac:67:b2:37:1d:68
Uploading stub…
Running stub…
Stub running…
Configuring flash size…
Flash will be erased from 0x00001000 to 0x00007fff…
Flash will be erased from 0x00010000 to 0x00036fff…
Flash will be erased from 0x00008000 to 0x00008fff…
SHA digest in image updated
Compressed 26240 bytes to 16494…
Wrote 26240 bytes (16494 compressed) at 0x00001000 in 1.5 seconds (effective 138.3 kbit/s)…
File md5: d644128d8d6ba8855ea3163ef907b53e
Flash md5: 862b2a801153cc053874639349942800
MD5 of 0xFF is ce0d9f7f999e01b39a9fb7415a5ba255

A fatal error occurr

The terminal process “/home/cem/.espressif/python_env/idf5.5_py3.10_env/bin/python ‘/home/cem/esp/v5.5.1/esp-idf/components/esptool_py/esptool/esptool.py’, ‘-p’, ‘/dev/ttyUSB0’, ‘-b’, ‘115200’, ‘–before’, ‘default_reset’, ‘–after’, ‘hard_reset’, ‘–chip’, ‘esp32’, ‘write_flash’, ‘–flash_mode’, ‘dio’, ‘–flash_freq’, ’40m’, ‘–flash_size’, ‘2MB’, ‘0x1000’, ‘bootloader/bootloader.bin’, ‘0x10000’, ‘project-name.bin’, ‘0x8000’, ‘partition_table/partition-table.bin'” terminated with exit code: 2. ”

]]>
By: Sara Santos https://randomnerdtutorials.com/programming-esp32-esp-idf-vs-code/#comment-1099937 Sat, 20 Sep 2025 18:27:57 +0000 https://randomnerdtutorials.com/?p=170029#comment-1099937 In reply to Guy.

Hi.
Thanks for your suggestion.
We intend to cover more topics in the future.
Regards,
Sara

]]>