Add create_file syscall, CE mkfile command, FatFS formatting fixes
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m16s

This commit is contained in:
2026-03-01 01:52:09 +01:00
parent eb55a6de21
commit abd85744cc
13 changed files with 133 additions and 18 deletions

View File

@@ -55,7 +55,9 @@ static size_t tar_parse (struct tarfs* tarfs, uint8_t* addr) {
return i;
}
int tarfs_mount (struct vfs_volume* volume) {
int tarfs_mount (struct vfs_volume* volume, bool format) {
(void)format;
struct tarfs* tarfs = malloc (sizeof (*tarfs));
if (tarfs == NULL)
@@ -201,3 +203,8 @@ int tarfs_write_file (struct vfs_volume* volume, const char* path, uint8_t* buff
(void)volume, (void)path, (void)buffer, (void)off, (void)size;
return ST_OK;
}
int tarfs_create_file (struct vfs_volume* volume, const char* path) {
(void)volume, (void)path;
return ST_OK;
}