mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'fix/mbedtls_fs_io_dependency_on_vfs' into 'master'
fix(mbedtls): Fix the MBEDTLS_FS_IO dependency on vfs Closes IDFGH-13518 See merge request espressif/esp-idf!33020
This commit is contained in:
commit
76b3cf5178
@ -1192,4 +1192,14 @@ menu "mbedTLS"
|
||||
the flash footprint and hence care must be taken to keep some reserved space
|
||||
for the application binary in flash layout.
|
||||
|
||||
config MBEDTLS_FS_IO
|
||||
bool "Enable functions that use the filesystem"
|
||||
default y
|
||||
depends on (VFS_SUPPORT_IO && VFS_SUPPORT_DIR) || IDF_TARGET_LINUX
|
||||
help
|
||||
This option enables functions in mbedTLS that use the filesystem.
|
||||
It uses the default filesystem support for the target,
|
||||
which is added through vfs component for ESP32 based targets or by
|
||||
the host system when the target is Linux.
|
||||
|
||||
endmenu # mbedTLS
|
||||
|
@ -901,7 +901,13 @@
|
||||
*
|
||||
* Enable functions that use the filesystem.
|
||||
*/
|
||||
#if CONFIG_MBEDTLS_FS_IO
|
||||
#define MBEDTLS_FS_IO
|
||||
#else
|
||||
#undef MBEDTLS_FS_IO
|
||||
#undef MBEDTLS_PSA_ITS_FILE_C
|
||||
#undef MBEDTLS_PSA_CRYPTO_STORAGE_C
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_IDF_TARGET_LINUX
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user