esp-idf/examples/cxx/experimental/experimental_cpp_component
Jakob Hasse b3271a51af Merge branch 'bugfix/common_components_linux' into 'master'
[build system]: Fixed common requirement for Linux target

Closes IDF-3638

See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
..
host_test Merge branch 'bugfix/common_components_linux' into 'master' 2021-08-17 08:48:38 +00:00
include [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
test [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
CMakeLists.txt [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
README.md
component.mk
esp_event_api.cpp
esp_event_cxx.cpp
esp_exception.cpp
esp_timer_cxx.cpp
gpio_cxx.cpp
i2c_cxx.cpp

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