Setting up Visual Studio Code for ESP32 IDF
Setting up Visual Studio Code for ESP32 IDF
I posted a small guide how to setup VS Code and ESP-IDF on Windows
System uses CMake and is independent from f.ex PlatformIO
It will compile full blown FreeRTOS projects
Link:
Setting up Visual Studio Code for ESP32 IDF
System uses CMake and is independent from f.ex PlatformIO
It will compile full blown FreeRTOS projects
Link:
Setting up Visual Studio Code for ESP32 IDF
Re: Setting up Visual Studio Code for ESP32 IDF
Thank you Deouss!
Very well done and nicely explained.
I actually expected it to be much simpler... what is the difference between powershell and cmd? and how do I know which one I am using? Is it necessary to edit the environment variables even if we use the Espressif installer that adds some paths?
Very well done and nicely explained.
I actually expected it to be much simpler... what is the difference between powershell and cmd? and how do I know which one I am using? Is it necessary to edit the environment variables even if we use the Espressif installer that adds some paths?
Re: Setting up Visual Studio Code for ESP32 IDF
I updated the section about environment variables.
There is a batch file that automatically pulls the branch from git and sets the IDF_PATH for you
There is a batch file that automatically pulls the branch from git and sets the IDF_PATH for you
Re: Setting up Visual Studio Code for ESP32 IDF
Just small update.
I seem to be having problem with intellisense feature. Not getting the smooth response.
Maybe someone has better idea how to. I also found some VSC c++ Getting Started Guide
Will look into it...
I seem to be having problem with intellisense feature. Not getting the smooth response.
Maybe someone has better idea how to. I also found some VSC c++ Getting Started Guide
Will look into it...
Re: Setting up Visual Studio Code for ESP32 IDF
According to VSC c++ guide - I need the exact path to compiler and debugger binary file
I haven't set up debugging yet but maybe someone could help here with where are the above files.
It looks like VSC does not need all those very long listings for include paths and intellisense works good.
I supplied just one extra path "$(env:IDF_PATH}" and all works smooth so far
As far as CMake - maybe there are some extensions - I didn't check yet
I haven't set up debugging yet but maybe someone could help here with where are the above files.
It looks like VSC does not need all those very long listings for include paths and intellisense works good.
I supplied just one extra path "$(env:IDF_PATH}" and all works smooth so far
As far as CMake - maybe there are some extensions - I didn't check yet
Re: Setting up Visual Studio Code for ESP32 IDF
First class documentation sir. With your permission, I'm adding a solid reference to your work in my book of notes. Your paper is a must read for anyone working in VSC with ESP-IDF.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: Setting up Visual Studio Code for ESP32 IDF
No problem ) I'm open to suggestions how to improve projects with VS Code.
Re: Setting up Visual Studio Code for ESP32 IDF
Have you had an opportunity to test to see the opportunity of interacting with gdb and JTAG (for debugging) under VSC?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: Setting up Visual Studio Code for ESP32 IDF
Not yet. I haven't gotten that far and I am not sure how to properly debug the code.
Re: Setting up Visual Studio Code for ESP32 IDF
Check this.
https://github.com/VirgiliaBeatrice/esp ... utorial.md
It doesn't need updating environment variables also it includes debugger setup.
It uses msys bash with vs-code
https://github.com/VirgiliaBeatrice/esp ... utorial.md
It doesn't need updating environment variables also it includes debugger setup.
It uses msys bash with vs-code
Who is online
Users browsing this forum: Majestic-12 [Bot], MicroController and 72 guests