Learn how to set up your first ESP IDF project using Visual Studio Code, from scratch. We will build a simple example using GPIOs to learn the basics of IDF and how to navigate through the code and documentation.
We will also learn how to use the menuconfig, a very helpful tool to configure the main settings for our project.
If you like this video, please give it a thumbs up and don't forget to subscribe :)
❗❗❗ IMPORTANT ❗❗❗
⚠️How to configure your IDF terminal inside Visual Studio code:
https://youtu.be/5IuZ-E8TmhgYou will need this for this video.
*** Regarding CMAKE ***
For a list of reserved words to avoid in your project name, type the following in the IDF terminal:
cmake --help-command-list
cmake --help-variable-list
cmake --help-property-list
▶️ How to Debug your ESP32:
https://youtu.be/uq93H7T7cOQ✅ ESP32 Board Links (Affiliate)
✔ Amazon (Faster shipping)
ESP32 Board -
https://amzn.to/3weY6SADebugger ESP-PROG (Recommended):
https://amzn.to/3ENsSDyDebugger FT2232H Generic :
https://amzn.to/3B1BxjpDebugger FT2232H Generic Dual Channel:
https://amzn.to/3C0NG9G✔ AliExpress (From China - Cheaper but slower shipping)
ESP32 Board -
https://s.click.aliexpress.com/e/_AXDp1RDebugger ESP-PROG (Recommended):
https://s.click.aliexpress.com/e/_A9n4lJDebugger FT2232H Generic:
https://s.click.aliexpress.com/e/_Ap4yQtDebugger FT2232H Generic Dual Channel:
https://s.click.aliexpress.com/e/_9ycDvF*** Timestamps ***
00:00 Introduction
00:40 Why use IDF?
01:17 Setting up the project
02:46 How to use Menuconfig
04:17 Configuring the main settings
06:12 Setting the Firmware version
06:42 Build folder run through
07:25 Coding Example
08:10 GPIO Driver
09:08 GPIO Input Config
10:19 GPIO Pull-up Config
11:06 GPIO Output Config
11:19 GPIO Reading the Input and Activating the Output
12:11 About the vTaskDelay()
12:49 Final Test
12:57 Outro