esp-idf/components/esp_timer/test/CMakeLists.txt
2020-02-06 14:00:18 +08:00

7 lines
277 B
CMake

idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS "../private_include"
REQUIRES unity test_utils)
if(CONFIG_ESP_TIMER_IMPL_FRC2)
idf_build_set_property(COMPILE_DEFINITIONS "-DESP_TIMER_DYNAMIC_OVERFLOW_VAL" APPEND)
endif()