esp-idf/tools/test_apps/system/memprot/main/CMakeLists.txt
2021-04-12 13:44:11 +10:00

8 lines
358 B
CMake

if( IDF_TARGET STREQUAL "esp32s2" )
idf_component_register(SRCS "esp32s2/test_memprot_main.c" "esp32s2/test_panic.c"
INCLUDE_DIRS "")
elseif( IDF_TARGET STREQUAL "esp32c3" )
idf_component_register(SRCS "esp32c3/test_memprot_main.c" "esp32c3/test_panic.c" "esp32c3/return_from_panic.S"
INCLUDE_DIRS "")
endif()