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

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