WIP Added allocation randomization for dynamic wear-leveling

This commit is contained in:
Christopher Haster
2018-08-09 09:06:17 -05:00
parent 67bbee56f5
commit 24eaf86b0e
10 changed files with 250 additions and 59 deletions

View File

@@ -45,6 +45,10 @@ typedef struct lfs_emubd {
uint64_t erase_count;
} stats;
struct {
lfs_block_t blocks[4];
} history;
struct {
uint32_t read_size;
uint32_t prog_size;