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

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