esp-idf/examples/cxx/experimental/experimental_cpp_component
Jakob Hasse 7572f75d6b refactor (cxx)!: I2C C++ classes use strong value types now
Added host-based I2C C++ unit tests

BREAKING CHANGE: I2C C++ interface changes, raw values for
    arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00
..
host_test refactor (cxx)!: I2C C++ classes use strong value types now 2021-12-17 14:05:52 +08:00
include refactor (cxx)!: I2C C++ classes use strong value types now 2021-12-17 14:05:52 +08:00
private_include
test refactor (cxx)!: I2C C++ classes use strong value types now 2021-12-17 14:05:52 +08:00
CMakeLists.txt
README.md
esp_event_api.cpp
esp_event_cxx.cpp
esp_exception.cpp
esp_timer_cxx.cpp
gpio_cxx.cpp
i2c_cxx.cpp refactor (cxx)!: I2C C++ classes use strong value types now 2021-12-17 14:05:52 +08:00
spi_cxx.cpp
spi_host_cxx.cpp

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