mbedtls: do not include PSA ITS when using PICOLIBC
PICOLIBC misses the dirent.h header which is required to emulate ITS (internal trusted storage) in PSA APIs. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
a58f8eb3ed
commit
9d5021befd
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@
|
|||
#define MBEDTLS_PSA_CRYPTO_C
|
||||
#define MBEDTLS_USE_PSA_CRYPTO
|
||||
|
||||
#if defined(CONFIG_ARCH_POSIX)
|
||||
#if defined(CONFIG_ARCH_POSIX) && !defined(CONFIG_PICOLIBC)
|
||||
#define MBEDTLS_PSA_KEY_SLOT_COUNT 64
|
||||
#define MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||
#define MBEDTLS_PSA_ITS_FILE_C
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue