|
|
4 лет назад | |
|---|---|---|
| .. | ||
| host_test | 4 лет назад | |
| include | 4 лет назад | |
| test | 4 лет назад | |
| CMakeLists.txt | 4 лет назад | |
| README.md | 5 лет назад | |
| component.mk | 5 лет назад | |
| esp_event_api.cpp | 5 лет назад | |
| esp_event_cxx.cpp | 5 лет назад | |
| esp_exception.cpp | 5 лет назад | |
| esp_timer_cxx.cpp | 5 лет назад | |
| gpio_cxx.cpp | 4 лет назад | |
| i2c_cxx.cpp | 5 лет назад | |
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.
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)
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