diff options
Diffstat (limited to 'stm/storage.c')
-rw-r--r-- | stm/storage.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stm/storage.c b/stm/storage.c index 89dbd97c6a..ce89bdf6fe 100644 --- a/stm/storage.c +++ b/stm/storage.c @@ -53,6 +53,14 @@ void storage_init() { } } +uint32_t storage_get_block_size() { + return BLOCK_SIZE; +} + +uint32_t storage_get_block_count() { + return FLASH_PART1_START_BLOCK + FLASH_PART1_NUM_BLOCKS; +} + void storage_flush() { cache_flush(); } |