File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1192,4 +1192,14 @@ menu "mbedTLS"
11921192 the flash footprint and hence care must be taken to keep some reserved space
11931193 for the application binary in flash layout.
11941194
1195+ config MBEDTLS_FS_IO
1196+ bool "Enable functions that use the filesystem"
1197+ default y
1198+ depends on (VFS_SUPPORT_IO && VFS_SUPPORT_DIR) || IDF_TARGET_LINUX
1199+ help
1200+ This option enables functions in mbedTLS that use the filesystem.
1201+ It uses the default filesystem support for the target,
1202+ which is added through vfs component for ESP32 based targets or by
1203+ the host system when the target is Linux.
1204+
11951205endmenu # mbedTLS
Original file line number Diff line number Diff line change 901901 *
902902 * Enable functions that use the filesystem.
903903 */
904+ #if CONFIG_MBEDTLS_FS_IO
904905#define MBEDTLS_FS_IO
906+ #else
907+ #undef MBEDTLS_FS_IO
908+ #undef MBEDTLS_PSA_ITS_FILE_C
909+ #undef MBEDTLS_PSA_CRYPTO_STORAGE_C
910+ #endif
905911
906912#ifndef CONFIG_IDF_TARGET_LINUX
907913/**
You can’t perform that action at this time.
0 commit comments