Source code for the Trusted Boot Module.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tbm-mcu/include/fs/mufs.h

17 lines
269 B

#pragma once
struct flash_dev;
struct mufs_tree {
uint32_t root;
uint8_t depth;
};
struct mufs {
struct flash_dev *dev;
uint32_t nblocks;
struct mufs_tree root;
};
int mufs_mount(struct mufs *fs, struct flash_dev *dev);
int mufs_format(struct flash_dev *dev);