# ---------------------------------------------------------------------------
# Guition JC3636K718C — 1.85" Round Knob Screen firmware framework
# ---------------------------------------------------------------------------
# Top-level ESP-IDF project file.
#
# The target is pinned to esp32s3 so that a fresh clone configures correctly
# without running `idf.py set-target esp32s3` first. This board only exists as
# an ESP32-S3 design, so pinning it removes a whole class of setup mistakes.

cmake_minimum_required(VERSION 3.16)

set(IDF_TARGET "esp32s3")

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

# The release number is given here rather than left to `git describe`, which this
# checkout cannot answer — the repository carries no tags, so every build fell
# back to the number 1 and said so in the log. The VERSION argument is read by
# ESP-IDF before it ever reaches for git, so this is the one place a release is
# named: it becomes PROJECT_VER, lands in the image header as
# esp_app_desc.version (which the boot log prints and the status page shows),
# and sets CMAKE_PROJECT_VERSION for anything that asks the build system.
project(guition_knob VERSION 1.3.0)
