Getting started with ESP-IDF programming using VS Code
HTML-код
- Опубликовано: 27 авг 2024
- In this video I've told you about how to run example code of ESP IDF using VS Code.
amazon India link to buy ESP32 Development Board: amzn.to/3yquJg1
amazon India link to buy different types of ESP32 Board: amzn.to/3yRZ4W2
FB page : / embedotronics
#ESP32
#ESPIDF
#vscode
Thanks the command pallet works in my pc!!
thanks a lot for giving best tutorial on youtube!! I am completely new ESP32 and by the end of video I was able to run blink code on my custom designed board!!
Glad to here that you are able run the code.
What is the difference between PlatformIO extension and the EspressIF IDF extension?
I want to use VS Code (instead of the EspressIF IDF environment), but when I install/configure the extension, it keeps looking for the IDF before installing the IDF! I tried installing IDF/Tools directly (esp-idf-tools-setup-online-2.20).. and compiling via the command prompt works fine (idf_py build), yet VS Code IDF extension still does not see it!
What about debugging? I bought an FT2232HL based programmer, pointed the driver to WinUsb (via Zadig), but how can you debug on the target? For example, does it automatically start OpenOCD and load the elf file onto the ESP32?
And if you unplug/plug, does the last debug program run, or was the debugger running out of RAM? Is the idf_py app-flash ever needed?
thank you very much!
Welcome!
i had installed the latest version and I got this error identifier "CONFIG_IDF_TARGET" is undefined please help
set include path to Espressif in c_cpp_parameters.json
@@avisingh7641 can you tell me in detail. how to do this stepwise plz..
Thanks for this tutorial. I didn't get if ESP IDF uses micropython or C?
ESP-IDF is a framework which uses languages like C or C++. However espressif provides MicroPython support for their ESP32 MCU. But framework is not ESP-IDF.
[0/1] Re-running CMake...-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
This error u are getting?
when I installed the esp-idf v4.4.5 it give the error in last step that python version mismatched. how can I solve this?
you need to reinstall it again
How to debug ?
You can use like OpenOCD or J-link to connect and debug the esp32