mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
10 lines
418 B
CMake
10 lines
418 B
CMake
|
if(IDF_TARGET STREQUAL "esp32c3")
|
||
|
idf_component_register(SRC_DIRS .
|
||
|
INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR}
|
||
|
REQUIRES unity test_utils esp_common
|
||
|
)
|
||
|
|
||
|
idf_build_set_property(COMPILE_DEFINITIONS "-DESP_TIMER_DYNAMIC_OVERFLOW_VAL" APPEND)
|
||
|
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u ld_include_test_dport_xt_highint5")
|
||
|
endif()
|