kopia lustrzana https://github.com/espressif/esp-idf
13 wiersze
436 B
CMake
13 wiersze
436 B
CMake
# The following lines of boilerplate have to be in your project's CMakeLists
|
|
# in this exact order for cmake to work correctly
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
if(NOT IDF_TARGET STREQUAL "esp32s2")
|
|
#IDF-4514
|
|
message(FATAL_ERROR "DO NOT BUILD THIS APP FOR ANY TARGET OTHER THAN ESP32-S2 OTHERWISE YOU MAY BRICK YOUR DEVICE")
|
|
return()
|
|
endif()
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(ulp_riscv_example)
|