diff options
Diffstat (limited to 'tests/unit/stubs/esp_spiffs.h')
| -rw-r--r-- | tests/unit/stubs/esp_spiffs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/unit/stubs/esp_spiffs.h b/tests/unit/stubs/esp_spiffs.h new file mode 100644 index 0000000..ae6a127 --- /dev/null +++ b/tests/unit/stubs/esp_spiffs.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #ifndef STUBS_ESP_SPIFFS_H | ||
| 2 | #define STUBS_ESP_SPIFFS_H | ||
| 3 | |||
| 4 | #include "esp_err.h" | ||
| 5 | |||
| 6 | typedef struct { | ||
| 7 | const char *base_path; | ||
| 8 | const char *partition_label; | ||
| 9 | int max_files; | ||
| 10 | bool format_if_mount_failed; | ||
| 11 | } esp_vfs_spiffs_conf_t; | ||
| 12 | |||
| 13 | static inline esp_err_t esp_vfs_spiffs_register(const esp_vfs_spiffs_conf_t *conf) { (void)conf; return ESP_OK; } | ||
| 14 | |||
| 15 | #endif | ||