# C++ Components for ESP-IDF

DevFeed: [C++ Components for ESP-IDF](<https://devfeed.tech/articles/c-components-for-esp-idf-13759.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2026/04/cpp-components-for-esp-idf/>)

Author: John Lee

Published: 2026-04-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [ESP-IDF](<https://devfeed.tech/topics/esp-idf.md>), [ESP32](<https://devfeed.tech/topics/esp32.md>), [Wi-Fi](<https://devfeed.tech/topics/wi-fi.md>), [Networks](<https://devfeed.tech/topics/networks.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [beginner](<https://devfeed.tech/tags/beginner.md>), [blog](<https://devfeed.tech/tags/blog.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [components](<https://devfeed.tech/tags/components.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [flash](<https://devfeed.tech/tags/flash.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [interface](<https://devfeed.tech/tags/interface.md>), [wifi](<https://devfeed.tech/tags/wifi.md>)

## AI overview

This tutorial explains how to structure and use C++ components for ESP-IDF on ESP32 systems. It demonstrates a Wi-Fi manager that connects to a local network through a setup access point and stores credentials in flash, and introduces a Deep Sleep component with step-by-step examples.

## Source excerpt

This article presents two C++ ESP32 components: wifi_manager for seamless network connection and Deep Sleep for power-saving operation, both easily integrated using provided code examples. It also lists additional ESP-IDF components to streamline development.