2021-01-27 16:03:07 -05:00
|
|
|
if( IDF_TARGET STREQUAL "esp32s2" )
|
|
|
|
idf_component_register(SRCS "esp32s2/test_memprot_main.c" "esp32s2/test_panic.c"
|
2020-11-10 02:40:01 -05:00
|
|
|
INCLUDE_DIRS "")
|
2021-01-27 16:03:07 -05:00
|
|
|
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 "")
|
2021-12-22 01:25:59 -05:00
|
|
|
elseif( IDF_TARGET STREQUAL "esp32s3" )
|
|
|
|
idf_component_register(SRCS "esp32s3/test_memprot_main.c" "esp32s3/test_panic.c"
|
|
|
|
INCLUDE_DIRS "")
|
2021-01-27 16:03:07 -05:00
|
|
|
endif()
|