mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 15:47:13 +00:00
fix(mbedtls): Fix the MBEDTLS_FS_IO dependency on vfs
By default MBEDTLS_FS_IO option in mbedtls uses the filesystem supported added by vfs component. If the vfs support is disabled by user then mbedtls raises a warning that the filesystem realted operation shall always fail This commit fixes the behaviour by enabling respective depedency check for the MBEDTLS_FS_IO option Closes https://github.com/espressif/esp-idf/issues/14409
This commit is contained in:

committed by
Mahavir Jain

parent
32dce28de0
commit
60a825e154
@@ -870,7 +870,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
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_NO_PLATFORM_ENTROPY
|
||||
|
Reference in New Issue
Block a user