mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-21 06:56:11 -04:00
10 lines
234 B
CMake
10 lines
234 B
CMake
|
cmake_minimum_required(VERSION 3.5)
|
||
|
|
||
|
if(IDF_TARGET STREQUAL "esp32s2")
|
||
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||
|
project(test_memprot)
|
||
|
|
||
|
target_link_libraries(${project_elf} "-Wl,--wrap=esp_panic_handler")
|
||
|
|
||
|
endif()
|