Hi. I'm new to this forum and to ESP32 programming. I installed Vscode and platformio. Was able to compile and upload a project with the arduino framework under Platformio.
Since there is ESP-IDF als available as a Vscode extension, I'm wondering if this is an alternative to platformio or whether it runs under platformio.
Then there is a commandline tool ``idf.py``. I would prefer to develop under VScode. Is there a Wiki or how-to available?
I git cloned also https://github.com/espressif/esp-idf.git and ran the install.sh script.
Thanks for helping in advance,
Christoph
esp-idf under Vscode/Platformio
Re: esp-idf under Vscode/Platformio
I've gotten so far that I installed the ESP-IDF extension under Vscode, and as far as I could tell when clicking on "install" in the extension browser the installation process found ESP-IDF that I installed before in my system. As a result I got the following picture. When clicking on install, I'm getting "Invalid ESP-IDF". I'm stuck now at this point.
Re: esp-idf under Vscode/Platformio
When you create a project in platformIO you have a choice to develop for Arduino or IDF.
-
- Posts: 167
- Joined: Sun May 22, 2022 2:42 pm
Re: esp-idf under Vscode/Platformio
The ESP-IDF Extension is indeed an alternative to PlatformIO. Its major benefit is that you can move forward and backward between using VSCode as IDE and the command line. It adds very little (which is good) on top of ESP-IDF.
Who is online
Users browsing this forum: No registered users and 58 guests