mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-01 04:50:58 +02:00
Update IDF to c4e65d6
This commit is contained in:
@ -18,6 +18,10 @@
|
||||
#include <stdbool.h>
|
||||
#include "esp_err.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Configuration structure for esp_vfs_spiffs_register
|
||||
*/
|
||||
@ -91,4 +95,8 @@ esp_err_t esp_spiffs_format(const char* partition_label);
|
||||
*/
|
||||
esp_err_t esp_spiffs_info(const char* partition_label, size_t *total_bytes, size_t *used_bytes);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _ESP_SPIFFS_H_ */
|
||||
|
@ -24,27 +24,27 @@
|
||||
#define SPIFFS_TAG "SPIFFS"
|
||||
|
||||
// Set generic spiffs debug output call.
|
||||
#if CONGIG_SPIFFS_DBG
|
||||
#if CONFIG_SPIFFS_DBG
|
||||
#define SPIFFS_DBG(...) ESP_LOGD(SPIFFS_TAG, __VA_ARGS__)
|
||||
#else
|
||||
#define SPIFFS_DBG(...)
|
||||
#endif
|
||||
#if CONGIG_SPIFFS_API_DBG
|
||||
#if CONFIG_SPIFFS_API_DBG
|
||||
#define SPIFFS_API_DBG(...) ESP_LOGD(SPIFFS_TAG, __VA_ARGS__)
|
||||
#else
|
||||
#define SPIFFS_API_DBG(...)
|
||||
#endif
|
||||
#if CONGIG_SPIFFS_DBG
|
||||
#if CONFIG_SPIFFS_DBG
|
||||
#define SPIFFS_GC_DBG(...) ESP_LOGD(SPIFFS_TAG, __VA_ARGS__)
|
||||
#else
|
||||
#define SPIFFS_GC_DBG(...)
|
||||
#endif
|
||||
#if CONGIG_SPIFFS_CACHE_DBG
|
||||
#if CONFIG_SPIFFS_CACHE_DBG
|
||||
#define SPIFFS_CACHE_DBG(...) ESP_LOGD(SPIFFS_TAG, __VA_ARGS__)
|
||||
#else
|
||||
#define SPIFFS_CACHE_DBG(...)
|
||||
#endif
|
||||
#if CONGIG_SPIFFS_CHECK_DBG
|
||||
#if CONFIG_SPIFFS_CHECK_DBG
|
||||
#define SPIFFS_CHECK_DBG(...) ESP_LOGD(SPIFFS_TAG, __VA_ARGS__)
|
||||
#else
|
||||
#define SPIFFS_CHECK_DBG(...)
|
||||
|
Reference in New Issue
Block a user