This repo contains esp-idf example projects written in C++.
The projects are written for esp-idf v5.0+ and are intended to demonstrate how to develop for esp-idf in a C++ enviroment.
The examples are organized into directories utilizing different components I have developed.
-
Clone the repo:
git clone https://github.com/myles-parfeniuk/esp_idf_cpp_examples.git
-
Navigate into cloned repo and run git submodule update:
cd esp_idf_cpp_examples git submodule update --init --recursive
-
Navigate into the project directory of your choice and run the build & flash commands.
For example:
cd esp_idf_cpp_examples/ButtonDriver/single_button_example idf.py build idf.py flash monitor