mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
aa96c9a4d8
- Added an option to skip unhandled events for periodic timers. Useful for light sleep. - Added doc about this case - Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events. - Fixed for esp_timer_dump() if name of timer is NULL - Refactored timer_process_alarm() - Added the delete function after using in UTs |
||
---|---|---|
.. | ||
include | ||
test | ||
CMakeLists.txt | ||
component.mk | ||
esp_event_api.cpp | ||
esp_event_cxx.cpp | ||
esp_exception.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