upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/unit/stubs/esp_spiffs.h
blob: ae6a1279b40a13550e2608386115fb54499b5286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef STUBS_ESP_SPIFFS_H
#define STUBS_ESP_SPIFFS_H

#include "esp_err.h"

typedef struct {
    const char *base_path;
    const char *partition_label;
    int max_files;
    bool format_if_mount_failed;
} esp_vfs_spiffs_conf_t;

static inline esp_err_t esp_vfs_spiffs_register(const esp_vfs_spiffs_conf_t *conf) { (void)conf; return ESP_OK; }

#endif