esp-idf/examples/cxx/experimental/experimental_cpp_component
Jakob Hasse 20c068ef3b cmock: added cmock as component
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
..
include C++: I2C API 2020-07-24 08:36:16 +08:00
test cmock: added cmock as component 2020-09-02 16:38:37 +08:00
CMakeLists.txt C++: I2C API 2020-07-24 08:36:16 +08:00
component.mk C++: I2C API 2020-07-24 08:36:16 +08:00
esp_exception.cpp C++: I2C API 2020-07-24 08:36:16 +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

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