1.0.0-beta
pre-releaseThis project provides C++ wrapper classes around some components of esp-idf. It is organized as a component. For more information how to use ESP-IDF components and how to set up ESP-IDF, please refer to esp-idf.
This repository hasn't been released yet. After the code is in a state that is convincing, we will release it for the component manager. Before the release, there might be breaking changes.
Some bits that are still missing (non-exhaustive list):
That being said, suggestions are very welcome. To use the project in the current state, follow the usual process for setting up the IDF environment (i.e., . ./export.sh
inside esp-idf). Then checkout this repository and change to the examples or unit tests and try them right away. The component manager is set up for these to find the esp-idf-cxx component locally.
No other special requirements are necessary.
Copy to Clipboard
idf.py add-dependency "espressif/esp-idf-cxx^1.0.0-beta"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp-idf-cxx^1.0.0-beta:blink_cxx"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp-idf-cxx^1.0.0-beta:esp_event_async_cxx"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp-idf-cxx^1.0.0-beta:esp_timer_cxx"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp-idf-cxx^1.0.0-beta:simple_i2c_rw_example"
To create a project from this example, run:
Copy to Clipboard
idf.py create-project-from-example "espressif/esp-idf-cxx^1.0.0-beta:simple_spi_rw_example"
Copy to Clipboard
Copy to Clipboard