forked from espressif/esp-idf
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:
@@ -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_ {
|
||||||
|
Reference in New Issue
Block a user