mirror of
https://github.com/Dejvino/lilybook.git
synced 2024-11-14 20:33:28 +00:00
31 lines
672 B
C
31 lines
672 B
C
/*
|
|
* spiffs VFS public function
|
|
*
|
|
* Author: LoBo (loboris@gmail.com / https://github.com/loboris)
|
|
*
|
|
* Part of this code is copied from or inspired by LUA-RTOS_ESP32 project:
|
|
*
|
|
* https://github.com/whitecatboard/Lua-RTOS-ESP32
|
|
* IBEROXARXA SERVICIOS INTEGRALES, S.L. & CSS IBÉRICA, S.L.
|
|
* Jaume Olivé (jolive@iberoxarxa.com / jolive@whitecatboard.org)
|
|
*
|
|
*/
|
|
|
|
#define SPIFFS_BASE_PATH "/spiffs"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int spiffs_is_registered;
|
|
extern int spiffs_is_mounted;
|
|
|
|
void vfs_spiffs_register();
|
|
int spiffs_mount();
|
|
int spiffs_unmount(int unreg);
|
|
void spiffs_fs_stat(uint32_t *total, uint32_t *used);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|