Merge branch 'feat/vfs_linux' into 'master'

feat(vfs): Add support for linux target in VFS

See merge request espressif/esp-idf!39524
This commit is contained in:
Sonika Rathi
2025-11-27 22:12:06 +08:00
34 changed files with 1489 additions and 84 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ typedef unsigned __int64 QWORD;
#elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__cplusplus) /* C99 or later */
#define FF_INTDEF 2
#include <stdint.h>
typedef unsigned int UINT; /* int must be 16-bit or 32-bit */
typedef size_t UINT; /* int must be 16-bit or 32-bit or 64 bit (Linux) */
typedef unsigned char BYTE; /* char must be 8-bit */
typedef uint16_t WORD; /* 16-bit unsigned */
typedef uint32_t DWORD; /* 32-bit unsigned */
+1 -1
View File
@@ -375,7 +375,7 @@
/* Some memory allocation functions are declared here in addition to ff.h, so that
they can be used also by external code when LFN feature is disabled.
*/
void* ff_memalloc (unsigned msize);
void* ff_memalloc (size_t msize);
void ff_memfree(void*);
/* Redefine names of disk IO functions to prevent name collisions */