esp-idf/examples/cxx/experimental/experimental_cpp_component
2022-08-24 10:51:09 +08:00
..
host_test I2C: i2c_port_t type is now an enumeration 2022-08-24 10:51:09 +08:00
include examples/cxx: add explicit-declared copy constructor 2022-03-31 15:02:27 +07:00
private_include [cxx]: simple spi master class 2021-10-25 14:56:59 +08:00
test build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
CMakeLists.txt feat (driver)!: Added mocking for i2c.h 2021-11-02 14:16:31 +08:00
esp_event_api.cpp
esp_event_cxx.cpp
esp_exception.cpp
esp_timer_cxx.cpp
gpio_cxx.cpp esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
i2c_cxx.cpp I2C: i2c_port_t type is now an enumeration 2022-08-24 10:51:09 +08:00
README.md
spi_cxx.cpp [cxx]: simple spi master class 2021-10-25 14:56:59 +08:00
spi_host_cxx.cpp freertos: Remove legacy data types 2022-02-09 23:05:45 +08:00

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