Implement an ATA driver, Add vfsmount/vfsunmount syscalls
This commit is contained in:
@ -25,11 +25,11 @@ void vfs_init_littlefs(VfsMountPoint *mp, bool format) {
|
||||
cfg->sync = &portlfs_sync;
|
||||
cfg->block_size = LITTLEFS_BLOCK_SIZE;
|
||||
cfg->block_count = mp->backingsd->capacity(mp->backingsd) / LITTLEFS_BLOCK_SIZE;
|
||||
cfg->read_size = 64;
|
||||
cfg->prog_size = 64;
|
||||
cfg->read_size = LITTLEFS_BLOCK_SIZE;
|
||||
cfg->prog_size = LITTLEFS_BLOCK_SIZE;
|
||||
cfg->block_cycles = 16;
|
||||
cfg->cache_size = 64;
|
||||
cfg->lookahead_size = 64;
|
||||
cfg->cache_size = LITTLEFS_BLOCK_SIZE;
|
||||
cfg->lookahead_size = LITTLEFS_BLOCK_SIZE;
|
||||
cfg->read_buffer = NULL;
|
||||
cfg->prog_buffer = NULL;
|
||||
cfg->lookahead_buffer = NULL;
|
||||
|
||||
Reference in New Issue
Block a user