You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 regels
672 B

  1. /*
  2. * spiffs VFS public function
  3. *
  4. * Author: LoBo (loboris@gmail.com / https://github.com/loboris)
  5. *
  6. * Part of this code is copied from or inspired by LUA-RTOS_ESP32 project:
  7. *
  8. * https://github.com/whitecatboard/Lua-RTOS-ESP32
  9. * IBEROXARXA SERVICIOS INTEGRALES, S.L. & CSS IBÉRICA, S.L.
  10. * Jaume Olivé (jolive@iberoxarxa.com / jolive@whitecatboard.org)
  11. *
  12. */
  13. #define SPIFFS_BASE_PATH "/spiffs"
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. extern int spiffs_is_registered;
  18. extern int spiffs_is_mounted;
  19. void vfs_spiffs_register();
  20. int spiffs_mount();
  21. int spiffs_unmount(int unreg);
  22. void spiffs_fs_stat(uint32_t *total, uint32_t *used);
  23. #ifdef __cplusplus
  24. }
  25. #endif