Esp32c3
Porting a library to an ESP-IDF component
·7 mins
Esp32c3
Component
Porting
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
·9 mins
Esp32c3
OOP
ESP-IDF
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: Logging
·9 mins
Esp32c3
ESP-IDF
Errors
This article shows how ESP-IDF’s logging system uses tags and verbosity levels to produce structured, configurable output, helping you keep code clean and debug more effectively.
ESP-IDF tutorial series: Errors
·7 mins
Esp32c3
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: Basic HTTP server
·7 mins
Esp32c3
HTTP
Connectivity
This article shows how to create a simple HTTP server. It explains the functions you need and the setup required. After reading this, you should be able to create your own HTTP server on Espressif devices.
