refactor(esp_tee): Add local components in TEE examples via idf_component.yml

This commit is contained in:
Laukik Hase
2025-02-11 10:15:19 +05:30
parent b88f30a099
commit 8f117c7f4c
20 changed files with 50 additions and 47 deletions
@@ -2,14 +2,11 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)
# (Not part of the boilerplate)
# This example uses extra components for the following -
# 1. Printing TEE attestation info
list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/components/esp_tee/subproject/components/tee_attestation)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# Including the attestation service calls
# For registering the attestation secure service
include($ENV{IDF_PATH}/components/esp_tee/subproject/components/tee_attestation/esp_tee_att.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
idf_build_set_property(MINIMAL_BUILD ON)
project(tee_attestation)