Baji_Rtc_Toy_Key/CMakeLists.txt
Rdzleo dbdd304905 代码初始化:
本项目为触摸版项目代码复制而来,基于此版本进行按键功能的适配!
2026-03-23 11:14:56 +08:00

22 lines
796 B
CMake
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# For more information about build system see
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
# 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.16)
# 1.5.6
# 版本号用于OTA升级
set(PROJECT_VER "1.7.4")
# Add this line to disable the specific warning
add_compile_options(-Wno-missing-field-initializers)
# # 排除esp_lcd组件因为板子不需要显示器
# set(EXCLUDE_COMPONENTS "esp_lcd")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(kapi)
# 自动生成并烧录 SPIFFS 镜像(将 spiffs_image/ 目录中的图片打包到 storage 分区)
spiffs_create_partition_image(storage spiffs_image FLASH_IN_PROJECT)