mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 12:25:03 +02:00
spiffs: convert host tests from Make to CMake
This commit is contained in:
@@ -12,13 +12,14 @@
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/semphr.h"
|
||||
#include "spiffs.h"
|
||||
#include "esp_vfs.h"
|
||||
#include "esp_compiler.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ESP_SPIFFS_PATH_MAX 15
|
||||
|
||||
/**
|
||||
* @brief SPIFFS definition structure
|
||||
*/
|
||||
@@ -26,7 +27,7 @@ typedef struct {
|
||||
spiffs *fs; /*!< Handle to the underlying SPIFFS */
|
||||
SemaphoreHandle_t lock; /*!< FS lock */
|
||||
const esp_partition_t* partition; /*!< The partition on which SPIFFS is located */
|
||||
char base_path[ESP_VFS_PATH_MAX+1]; /*!< Mount point */
|
||||
char base_path[ESP_SPIFFS_PATH_MAX+1]; /*!< Mount point */
|
||||
bool by_label; /*!< Partition was mounted by label */
|
||||
spiffs_config cfg; /*!< SPIFFS Mount configuration */
|
||||
uint8_t *work; /*!< Work Buffer */
|
||||
|
||||
Reference in New Issue
Block a user