esp32-warm-water
esp32 based project for the control of a heating element based on temperature
Functions
spiffs.c File Reference

implementations for component spiffs More...

#include <stdio.h>
#include <string.h>
#include <sys/unistd.h>
#include <sys/stat.h>
#include "esp_err.h"
#include "esp_log.h"
#include "esp_spiffs.h"
#include <sys/param.h>
#include <dirent.h>
#include "spiffs.h"
#include "utility.h"
Include dependency graph for spiffs.c:

Go to the source code of this file.

Functions

off_t get_file_size (const char *filename)
 
void read_file (const char *pwd)
 
void list_files ()
 
void spiffs_init ()
 
void spiffs_deinit ()
 

Detailed Description

implementations for component spiffs

Definition in file spiffs.c.

Function Documentation

◆ get_file_size()

off_t get_file_size ( const char *  filename)

Definition at line 52 of file spiffs.c.

Here is the caller graph for this function:

◆ list_files()

void list_files ( )

Definition at line 92 of file spiffs.c.

Here is the caller graph for this function:

◆ read_file()

void read_file ( const char *  pwd)

Definition at line 65 of file spiffs.c.

Here is the call graph for this function:

◆ spiffs_deinit()

void spiffs_deinit ( void  )

Definition at line 159 of file spiffs.c.

Here is the caller graph for this function:

◆ spiffs_init()

void spiffs_init ( void  )

an example function

Definition at line 111 of file spiffs.c.

Here is the call graph for this function:
Here is the caller graph for this function: