Merge branch 'fix/add_malloc_cap_8bit_for_vfs_select' into 'release/v5.2'

fix(vfs): add MALLOC_CAP_8BIT for vfs select(Backport v5.2)

See merge request espressif/esp-idf!27720
This commit is contained in:
Jiang Jiang Jian
2023-12-26 19:03:26 +08:00

View File

@@ -13,9 +13,9 @@ extern "C" {
#endif #endif
#if CONFIG_VFS_SELECT_IN_RAM #if CONFIG_VFS_SELECT_IN_RAM
#define VFS_MALLOC_FLAGS MALLOC_CAP_INTERNAL #define VFS_MALLOC_FLAGS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT)
#else #else
#define VFS_MALLOC_FLAGS MALLOC_CAP_DEFAULT #define VFS_MALLOC_FLAGS (MALLOC_CAP_DEFAULT)
#endif #endif
typedef struct vfs_entry_ { typedef struct vfs_entry_ {