Getting Started with ESP-IDF: Difference between revisions

From Embedded Workshop
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
  * Visual Studio Code
  * Visual Studio Code
  * Visual Studio Code Extension for ESP-IDF
  * Visual Studio Code Extension for ESP-IDF
==Frequently Asked Questions==
Currently, Google is my best friend.  Just form a search that begins with "ESP-IDF", and I'll find an answer.
https://docs.espressif.com/projects/espressif-esp-faq/en/latest/
==Resources==
The ESP-IDF environment is TONs of documentation.
https://docs.espressif.com/projects/esp-idf/en/v4.4.3/esp32/get-started/index.html

Revision as of 13:24, 12 November 2022

ESP-IDF is a development environment for ESP32 processors to build larger projects
By default, an ESP-IDF project will utilize FreeRTOS to manage multiple components to build a system.

Hardware

All development boards utilize a "board on board" process
The ESP32 board is mounted to a development board
The ESP32 board has WiFi circuitry and external SPI Flash

FreeRTOS

Each "component" may create its own thread / task
Priorities are used to define/manage what's important
By default, heap memory is used to create a thread / task as well as its stack space

Logging System

A logging system is already implemented into each component, and is expected to be used to build the project.
Message levels:
* Verbose
* Debug
* Informational
* Warning
* Error

ESP-IDF Installation

Visual Studio Code works well, with an ESP-IDF extension, to setup, build, flash, monitor, and debug a project.
https://docs.espressif.com/projects/esp-idf/en/v4.4.3/esp32/get-started/vscode-setup.html

I'll try to make this install as painless as possible, but many parts and steps are involved...
* ESP-IDF from github - The latest release is 4.4.3, which is a bugfix patch.
* Python - Used to script many features/functions
* Visual Studio Code
* Visual Studio Code Extension for ESP-IDF

Frequently Asked Questions

Currently, Google is my best friend.  Just form a search that begins with "ESP-IDF", and I'll find an answer.
https://docs.espressif.com/projects/espressif-esp-faq/en/latest/

Resources

The ESP-IDF environment is TONs of documentation.
https://docs.espressif.com/projects/esp-idf/en/v4.4.3/esp32/get-started/index.html