forked from M-Labs/artiq
1
0
Fork 0
artiq/soc/runtime/flash_storage.h

14 lines
353 B
C
Raw Normal View History

/*
* Yann Sionneau <ys@m-labs.hk>, 2015
*/
#ifndef __FLASH_STORAGE_H
#define __FLASH_STORAGE_H
2015-08-08 18:21:43 +08:00
void fs_remove(const char *key);
2015-04-28 13:01:54 +08:00
void fs_erase(void);
2015-08-08 18:21:43 +08:00
int fs_write(const char *key, const void *buffer, unsigned int buflen);
unsigned int fs_read(const char *key, void *buffer, unsigned int buflen, unsigned int *remain);
#endif /* __FLASH_STORAGE_H */