mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
commit
bdce46f1e3
@ -13,9 +13,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#if CONFIG_VFS_SELECT_IN_RAM
|
||||
#define VFS_MALLOC_FLAGS MALLOC_CAP_INTERNAL
|
||||
#define VFS_MALLOC_FLAGS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT)
|
||||
#else
|
||||
#define VFS_MALLOC_FLAGS MALLOC_CAP_DEFAULT
|
||||
#define VFS_MALLOC_FLAGS (MALLOC_CAP_DEFAULT)
|
||||
#endif
|
||||
|
||||
typedef struct vfs_entry_ {
|
||||
|
Loading…
Reference in New Issue
Block a user