include(${CMAKE_CURRENT_LIST_DIR}/inputs.cmake)
foreach(item shape-s3.espdl heldout-pixels.bin heldout-labels.bin)
    file(SHA256 "${CMAKE_CURRENT_LIST_DIR}/${item}" actual_sha)
    if(NOT actual_sha STREQUAL "${V05_SHA_${item}}")
        message(FATAL_ERROR "V05 input identity mismatch: ${item}")
    endif()
endforeach()
idf_component_register(SRCS "main.cpp" INCLUDE_DIRS "." REQUIRES esp-dl esp_timer heap esp_psram
    EMBED_FILES "shape-s3.espdl" "heldout-pixels.bin" "heldout-labels.bin")
target_compile_definitions(${COMPONENT_LIB} PRIVATE V05_MODEL_SHA256="${V05_SHA_shape-s3.espdl}")
