2020-05-08 18:05:39 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
|
|
|
2020-05-29 12:02:17 +08:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
2020-05-08 18:05:39 +08:00
|
|
|
|
|
|
|
project(tfm_psa_level_1)
|
|
|
|
|
|
|
|
# Source files in this sample
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
|
|
target_sources(app PRIVATE src/psa_attestation.c)
|
|
|
|
target_sources(app PRIVATE src/psa_crypto.c)
|
|
|
|
target_sources(app PRIVATE src/shell.c)
|
|
|
|
target_sources(app PRIVATE src/util_app_cfg.c)
|
|
|
|
target_sources(app PRIVATE src/util_app_log.c)
|
|
|
|
target_sources(app PRIVATE src/util_sformat.c)
|
2021-05-09 05:40:07 +08:00
|
|
|
|
|
|
|
target_include_directories(app PRIVATE
|
|
|
|
${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/trusted-firmware-m/interface/include
|
|
|
|
)
|