How to Use ESP-IDF Terminal or ESP-IDF PowerShell to Run Commands

by embedotronics in Circuits > Electronics

4352 Views, 1 Favorites, 0 Comments

How to Use ESP-IDF Terminal or ESP-IDF PowerShell to Run Commands

Untitled.png
instructables.png

Here in this tutorial I've explained you about how to use IDF Terminal or command prompt to run ESP32

Software Used

F72UZ59L71WV7C2.png
F2TL4YWL71WV706.png
  1. Espressif IDE : Here in this tutorial I've used Espressif IDE recommended by ESP. You can also use VS code with espressif ide extension or platformio extension. So it's up to you how you want to work
  2. Docklight: This is a tool to see serial output from esp32 to PC, this is optional as espressif IDE itself has serial terminal, personally I prefer docklight as there are lot of option from hex view to decimal view of any string.


Components Used

F7YVSJEL71WV7LO.jpg
  1. ESP32- WROOM-Kit: you required only one board for getting started with espressif IDE, here in this tutorial I'm using ESP32-WROOM kit, you can also go with esp32-wroover or esp32c3 mini board it will work for all the boards.


How to Run Commands

Here in this case you have to go to the workspace where your project is saved. use cd to go to the workspace then use command idf.py build to build the project. Some of the commands are written below:

idf.py set-target esp32 ----------------- this command will set the target board you can choose esp32c3 or other chip by using this command

idf.py menuconfig------------------------ you can do configuration by giving this command. I'll give you the details instruction of this command in the next upcoming instructables.

idf.py partition-table--------------------- you can select the partition table

idf.py -p (COM_PORT) flash------------------ you can flash the program to chip using this command.

Video

How to flash ESP32 with ESP-IDF using ESP-IDF TERMINAL

some of the commands I've demonstrated in the above video. Kindly go through the whole video


If you have any doubt regarding this project feel free to comment us below. And if you want to learn more about embedded system you can visit our youtube channel

Please visit and like our Facebook Page for frequent updates.

Thanks & Regards,

Embedotronics Technologies