1# NOTE: This kind of mocking currently works on Linux targets only.
2#       On Espressif chips, too many dependencies are missing at the moment.
3message(STATUS "building ESP TIMER MOCKS")
4
5idf_component_get_property(original_esp_timer_dir esp_timer COMPONENT_OVERRIDEN_DIR)
6
7idf_component_mock(INCLUDE_DIRS "${original_esp_timer_dir}/include"
8    REQUIRES esp_common
9    MOCK_HEADER_FILES ${original_esp_timer_dir}/include/esp_timer.h)
10