2023-03-29 21:39:51 +08:00
|
|
|
CONFIG_LOG=y
|
|
|
|
CONFIG_LOG_RUNTIME_FILTERING=y
|
|
|
|
CONFIG_LOG_BUFFER_SIZE=2048
|
|
|
|
CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD=0
|
|
|
|
CONFIG_LOG_DEFAULT_LEVEL=3
|
|
|
|
|
|
|
|
#CONFIG_SHELL=n
|
|
|
|
#CONFIG_SHELL_HISTORY=y
|
|
|
|
#CONFIG_SHELL_VT100_COLORS=y
|
|
|
|
#CONFIG_SHELL_CMDS=n
|
|
|
|
#CONFIG_PSA_SHELL=y
|
|
|
|
|
|
|
|
CONFIG_BUILD_WITH_TFM=y
|
|
|
|
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
|
|
|
|
CONFIG_TFM_IPC=y
|
|
|
|
|
|
|
|
# The Zephyr CMSIS emulation assumes that ticks are ms, currently
|
|
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
|
|
|
|
|
|
|
|
CONFIG_MAIN_STACK_SIZE=8192
|
|
|
|
CONFIG_HEAP_MEM_POOL_SIZE=4096
|
|
|
|
|
|
|
|
# Mbed TLS
|
|
|
|
CONFIG_MBEDTLS=y
|
|
|
|
CONFIG_MBEDTLS_BUILTIN=y
|
|
|
|
CONFIG_MBEDTLS_ENABLE_HEAP=y
|
|
|
|
CONFIG_MBEDTLS_HEAP_SIZE=32768
|
|
|
|
CONFIG_MBEDTLS_USER_CONFIG_ENABLE=y
|
2024-05-23 20:01:56 +08:00
|
|
|
CONFIG_MBEDTLS_USER_CONFIG_FILE="config_mbedtls.h"
|
2023-03-29 21:39:51 +08:00
|
|
|
|
2024-04-30 17:43:14 +08:00
|
|
|
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
|
2024-05-28 21:47:37 +08:00
|
|
|
CONFIG_PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY=y
|
2024-09-10 14:59:29 +08:00
|
|
|
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT=y
|
|
|
|
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT=y
|
2024-05-28 21:47:37 +08:00
|
|
|
CONFIG_PSA_WANT_ECC_SECP_R1_256=y
|
|
|
|
CONFIG_PSA_WANT_ALG_ECDSA=y
|
|
|
|
CONFIG_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY=y
|
2024-07-30 23:21:20 +08:00
|
|
|
CONFIG_MBEDTLS_ENTROPY_C=y
|
2024-04-30 17:43:14 +08:00
|
|
|
CONFIG_MBEDTLS_ECP_C=y
|
|
|
|
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
|
|
|
|
CONFIG_MBEDTLS_ECDSA_C=y
|
2024-05-08 21:34:31 +08:00
|
|
|
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA_ENABLED=y
|
|
|
|
CONFIG_MBEDTLS_PK_WRITE_C=y
|
2024-04-30 17:43:14 +08:00
|
|
|
|
2023-03-29 21:39:51 +08:00
|
|
|
# JSON
|
|
|
|
CONFIG_JSON_LIBRARY=y
|
|
|
|
|
|
|
|
# Enable the initial attestation
|
|
|
|
CONFIG_TFM_PARTITION_INITIAL_ATTESTATION=y
|
|
|
|
CONFIG_TFM_QCBOR_PATH="DOWNLOAD"
|
|
|
|
|
2023-09-29 06:27:11 +08:00
|
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|