esp-idf/examples/cxx/experimental/experimental_cpp_component
Jakob Hasse ce7cdeffb4 bugfix (cxx)!: added missing explicit for some strong value types
BREAKING CHANGE: Users who have been using the GPIO and SPI classes
                 may need to revisit their code as it's now not allowed
                 anymore to pass raw numbers for classes like MOSI
                 or GPIONum.
2021-11-19 16:07:32 +08:00
..
host_test feat (driver)!: Added mocking for i2c.h 2021-11-02 14:16:31 +08:00
include bugfix (cxx)!: added missing explicit for some strong value types 2021-11-19 16:07:32 +08:00
private_include [cxx]: simple spi master class 2021-10-25 14:56:59 +08:00
test Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
CMakeLists.txt feat (driver)!: Added mocking for i2c.h 2021-11-02 14:16:31 +08:00
esp_event_api.cpp Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_event_cxx.cpp esp_timer: Add an option to skip unhandled events for periodic timers 2020-12-09 17:19:19 +08:00
esp_exception.cpp C++: ESP Event wrapper classes 2020-10-22 09:56:52 +08:00
esp_timer_cxx.cpp esp_timer: added C++ wrapper for esp_timer 2020-12-14 11:17:56 +08:00
gpio_cxx.cpp [cxx]: GPIO CXX wrappers, experiemental CI rule 2021-08-03 19:51:21 +08:00
i2c_cxx.cpp C++: I2C API 2020-07-24 08:36:16 +08:00
README.md C++: Moved all C++ examples to own folder 2020-02-18 12:48:57 +08:00
spi_cxx.cpp [cxx]: simple spi master class 2021-10-25 14:56:59 +08:00
spi_host_cxx.cpp [cxx]: simple spi master class 2021-10-25 14:56:59 +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