# The following five 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.22) include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(edc-mcu) # 调试开关: 注释掉以下行以禁用 WiFi / Web 服务器 add_compile_definitions(EDC_DEBUG_WEB)