Skip to main content

This site is a preview for github.com/espressif/developer-portal/pull/599

Francesco Bez

Porting a library to an ESP-IDF component

Porting a library to an ESP-IDF component

This article shows how to port an external library into an ESP-IDF project by converting it into a reusable component. Using tinyexpr as an example, it covers obtaining the source code, creating a new project, building a component, configuring the build system, and testing on hardware.
ESP-IDF tutorial series: Object oriented programming in C

ESP-IDF tutorial series: Object oriented programming in C

This article explains how ESP-IDF brings object-oriented programming principles into C by using structs, opaque pointers, and handles to enforce encapsulation and modularity. It shows how components like HTTP servers and I²C buses are managed through handles that represent distinct objects for configuration and operation, and compares this approach to Python and C++.
ESP-IDF tutorial series: Errors

ESP-IDF tutorial series: Errors

This article explains error handling in FreeRTOS-based embedded systems, highlighting common C practices and their limitations. It introduces ESP-IDF’s esp_err_t type and error-checking macros, demonstrating how they help manage errors systematically. It shows practical ways to implement error handling in embedded applications.
ESP-IDF Tutorials: Soft-AP

ESP-IDF Tutorials: Soft-AP

This tutorial guides you through setting up a soft-AP using an Espressif module and ESP-IDF. It covers the process of creating a project, configuring Wi-Fi, and handling connection events through event loops. Upon completion, you’ll be able to establish a soft-AP and manage Wi-Fi connections. It is the first step to building more advanced networking applications.