ESP8266_RTOS_SDK v1.4.0

- Main Page
- Modules
- Data Structures
- Files

Data Structures | Functions
Spiffs APIs

Spiffs APIs. More...

## Data Structures
struct | esp_spiffs_config

## Functions
sint32 | esp_spiffs_init (struct esp_spiffs_config *config)
| Initialize spiffs. More...
void | esp_spiffs_deinit (uint8 format)
| Deinitialize spiffs. More...

## Detailed Description

Spiffs APIs.

More details about spiffs on https://github.com/pellepl/spiffs

## Function Documentation

void esp_spiffs_deinit | ( | uint8 | format | ) |

Deinitialize spiffs.

Parameters

  uint8 | format : 0, only deinit; otherwise, deinit spiffs and format.

Returns
  null

sint32 esp_spiffs_init | ( | struct esp_spiffs_config * | config | ) |

Initialize spiffs.

Parameters

  struct | esp_spiffs_config *config : ESP8266 spiffs configuration

Returns
  0 : succeed
  otherwise : fail