mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
339fcbf14d
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
11 lines
520 B
CMake
11 lines
520 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 "")
|
|
elseif( IDF_TARGET STREQUAL "esp32s3" )
|
|
idf_component_register(SRCS "esp32s3/test_memprot_main.c" "esp32s3/test_panic.c"
|
|
INCLUDE_DIRS "")
|
|
endif()
|