2020-04-17 15:34:56 -04:00
|
|
|
# The following lines of boilerplate have to be in your project's CMakeLists
|
|
|
|
# in this exact order for cmake to work correctly
|
2022-05-27 04:10:51 -04:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
2020-04-17 15:34:56 -04:00
|
|
|
|
2021-12-23 01:12:47 -05:00
|
|
|
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()
|
|
|
|
|
2020-04-17 15:34:56 -04:00
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
2021-07-05 02:33:56 -04:00
|
|
|
project(ulp_riscv_example)
|