Omar Chebib f6ac350337 I2C: i2c_port_t type is now an enumeration %!s(int64=3) %!d(string=hai) anos
..
host_test f6ac350337 I2C: i2c_port_t type is now an enumeration %!s(int64=3) %!d(string=hai) anos
include 40d189137e examples/cxx: add explicit-declared copy constructor %!s(int64=3) %!d(string=hai) anos
private_include 7efb01846f [cxx]: simple spi master class %!s(int64=4) %!d(string=hai) anos
test e596c84d49 build system: re-add -Wno-format as private flag for some example components %!s(int64=3) %!d(string=hai) anos
CMakeLists.txt 1eb96cfc79 feat (driver)!: Added mocking for i2c.h %!s(int64=4) %!d(string=hai) anos
README.md 31edd48b43 C++: Moved all C++ examples to own folder %!s(int64=6) %!d(string=hai) anos
esp_event_api.cpp 66fb5a29bb Whitespace: Automated whitespace fixes (large commit) %!s(int64=5) %!d(string=hai) anos
esp_event_cxx.cpp aa96c9a4d8 esp_timer: Add an option to skip unhandled events for periodic timers %!s(int64=5) %!d(string=hai) anos
esp_exception.cpp f835bead45 C++: ESP Event wrapper classes %!s(int64=5) %!d(string=hai) anos
esp_timer_cxx.cpp 8282b0f9ea esp_timer: added C++ wrapper for esp_timer %!s(int64=5) %!d(string=hai) anos
gpio_cxx.cpp cf049e15ed esp8684: rename target to esp32c2 %!s(int64=4) %!d(string=hai) anos
i2c_cxx.cpp f6ac350337 I2C: i2c_port_t type is now an enumeration %!s(int64=3) %!d(string=hai) anos
spi_cxx.cpp 7efb01846f [cxx]: simple spi master class %!s(int64=4) %!d(string=hai) anos
spi_host_cxx.cpp 57fd78f5ba freertos: Remove legacy data types %!s(int64=3) %!d(string=hai) anos

README.md

Experimental C++ Component

Warning: This component is subject to change without notice. Don't consider it as a stable API. It proposes future C++ interfaces of IDF components.

Usage/Build

To use and build this component, add it as an extra component in your project's cmake file:

set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component)

Tests

To build the tests, first add them to the unit test's CMakeLists.txt:

set(EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component/")

Then go to the unit test app's directory and run:

idf.py -T experimental_cpp_component build