Configuring the project
Now, we should configure our project using menuconfig. This tool is a part of the ESP32 toolchain that you have configured previously on your platform.
Open Terminal and navigate to your project directory. Then, you can type this command:
$ make menuconfig
You should get the dialog shown in the following screenshot:
We configure our ESP32 serial port and then select the Serial flasher config menu. From here, fill your serial port of the ESP32 board. You can see my ESP32 serial port from the ESP-WROVER-KIT board here:
If complete, click the Save button. The menuconfig program will save your project configuration. The program output can be seen in the following screenshot. You should see that this tool generates the sdkconfig file into your current project directory:
Now, your program is ready for compiling and flashing.