{"id":142,"date":"2026-03-01T15:36:46","date_gmt":"2026-03-01T14:36:46","guid":{"rendered":"https:\/\/elrebo.de\/?page_id=142"},"modified":"2026-04-09T14:54:59","modified_gmt":"2026-04-09T12:54:59","slug":"esp32-programming","status":"publish","type":"page","link":"https:\/\/www.elrebo.de\/index.php\/esp32-programming\/","title":{"rendered":"ESP32 Programming"},"content":{"rendered":"\n<p>Index of my articles on ESP32 Programming and hints how to get things working.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Components for ESP-IDF Development<\/h2>\n\n\n\n<p>There are some C++ components for ESP-IDF Development. <\/p>\n\n\n\n<p>An overview can be found at this site in <a href=\"https:\/\/elrebo.de\/index.php\/2026\/02\/20\/physical-computing\/\" data-type=\"post\" data-id=\"59\">Physical Computing<\/a>.<\/p>\n\n\n\n<p>And there is a blog post on <a href=\"https:\/\/developer.espressif.com\/blog\/2026\/04\/cpp-components-for-esp-idf\/\">https:\/\/developer.espressif.com<\/a> published on 13.04.2026.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Integrated Development Environment<\/h2>\n\n\n\n<p>I&#8217;m using a simple IDE for the ESP-IDF Development on my MacBook.<\/p>\n\n\n\n<p>First I did the standard toolchain installation as described by Espressif <a href=\"https:\/\/docs.espressif.com\/projects\/esp-idf\/en\/stable\/esp32\/get-started\/linux-macos-setup.html\">here<\/a>. This will install the ESP-IDF environment on your computer.<\/p>\n\n\n\n<p>Then I installed the community edition of IntelliJ IDEA.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Building and Deploying a Component<\/h2>\n\n\n\n<p>To build and deploy a component to an ESP32 SoC follow these steps in IntelliJ IDEA:<\/p>\n\n\n\n<p>We will walk through the steps with component <code>wifi_manager<\/code> on an <code>ESP32C3<\/code> system.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Clone the repository of the component on GitHub to your computer:<br>Open IntelliJ IDEA, click on &#8220;Clone Repository&#8221; and enter the GiHub URL of wifi_manager: <a href=\"https:\/\/github.com\/elrebo-de\/wifi_manager.git\">https:\/\/github.com\/elrebo-de\/wifi_manager.git<\/a><\/li>\n\n\n\n<li>In the project wifi_manager, which you have cloned, open a terminal.<\/li>\n\n\n\n<li>In the terminal call the export command of ESP-IDF to make the idf commands available:<br><code>source \/Users\/christophoberle\/esp-idf\/esp-idf\/export.sh<\/code><br>The directory on your computer will be different. It is the location of the esp-idf environment to be used.<\/li>\n\n\n\n<li>Navigate to the example directory: <code>cd example\/wifi_manager_test<\/code><\/li>\n\n\n\n<li>Set the target with: <code>idf.py set-target esp32c3<\/code><br>Now the build files for an ESP32C3 board are created.<\/li>\n\n\n\n<li>Build the program with: <code>idf.py build<\/code><br>Now the ESP32C3 images are created.<\/li>\n\n\n\n<li>Connect the ESP32C3 board to your computer with a USB cable.<\/li>\n\n\n\n<li>Flash the program to the ESP32C3 system and run it with: <br><code>idf.py flash monitor<\/code><br>Now the program is written onto the device and it is started. The log will be written to the terminal.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"732\" src=\"https:\/\/elrebo.de\/wp-content\/uploads\/2026\/03\/Bildschirmfoto-2026-03-01-um-15.31.46-1024x732.png\" alt=\"\" class=\"wp-image-144\" srcset=\"https:\/\/www.elrebo.de\/wp-content\/uploads\/2026\/03\/Bildschirmfoto-2026-03-01-um-15.31.46-1024x732.png 1024w, https:\/\/www.elrebo.de\/wp-content\/uploads\/2026\/03\/Bildschirmfoto-2026-03-01-um-15.31.46-300x215.png 300w, https:\/\/www.elrebo.de\/wp-content\/uploads\/2026\/03\/Bildschirmfoto-2026-03-01-um-15.31.46-768x549.png 768w, https:\/\/www.elrebo.de\/wp-content\/uploads\/2026\/03\/Bildschirmfoto-2026-03-01-um-15.31.46-1536x1099.png 1536w, https:\/\/www.elrebo.de\/wp-content\/uploads\/2026\/03\/Bildschirmfoto-2026-03-01-um-15.31.46-2048x1465.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Index of my articles on ESP32 Programming and hints how to get things working. Components for ESP-IDF Development There are some C++ components for ESP-IDF Development. An overview can be found at this site in Physical Computing. And there is a blog post on https:\/\/developer.espressif.com published on 13.04.2026. Integrated Development Environment I&#8217;m using a simple [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-142","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/pages\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":4,"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/pages\/142\/revisions"}],"predecessor-version":[{"id":170,"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/pages\/142\/revisions\/170"}],"wp:attachment":[{"href":"https:\/\/www.elrebo.de\/index.php\/wp-json\/wp\/v2\/media?parent=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}