# ---------------------------------------------------------------------------
# app_settings — what the device remembers about itself.
# ---------------------------------------------------------------------------
# Screen brightness, ring brightness and mode, the sequencer realignment,
# itself, and the presets, in NVS. Deliberately separate from synth_app: none of
# it is a parameter of the instrument — app_presets.c stores parameters, it does
# not define any.

idf_component_register(
    SRCS
        "src/app_settings.c"
        "src/app_presets.c"
    INCLUDE_DIRS
        "include"
    REQUIRES
        bsp_jc3636k718c
        # esp_app_desc.h, for the running image's SHA-256: the stamp that lets a
        # freshly flashed firmware recognise that the preset store is not its own.
        esp_app_format
        nvs_flash
        # The deferred write: an esp_timer one-shot restarted by every change.
        esp_timer
)
