esp-idf/components/esp32c3/test/CMakeLists.txt
Angus Gratton 544c5e57ce esp32c3: Add tests for esp_sha, stack checker
From internal commit 6d894813
2020-12-24 14:18:01 +11:00

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()