2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-05 01:36:39 +08:00
artiq/soc/runtime/flash_storage.h

14 lines
329 B
C
Raw Normal View History

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