This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros | |
#define | PHYS_FLASH_SIZE (16*1024*1024) |
#define | SPIFFS_FLASH_SIZE (2*1024*1024) |
#define | SPIFFS_PHYS_ADDR (4*1024*1024) |
#define | SECTOR_SIZE 65536 |
#define | LOG_BLOCK (SECTOR_SIZE*2) |
#define | LOG_PAGE (SECTOR_SIZE/256) |
#define | DEFAULT_NUM_FD 16 |
#define | DEFAULT_NUM_CACHE_PAGES 8 |
#define | TEST_PATH "/dev/shm/spiffs/test-data/" |
#define | ASSERT(c, m) real_assert((c),(m), __FILE__, __LINE__); |
#define | SPIFFS_USE_MAGIC 1 |
#define | SPIFFS_USE_MAGIC_LENGTH 1 |
#define | SPIFFS_HAL_CALLBACK_EXTRA 1 |
#define | SPIFFS_FILEHDL_OFFSET 1 |
#define | TEST_SPIFFS_FILEHDL_OFFSET 0x1000 |
#define | SPIFFS_LOCK(fs) test_lock(fs) |
#define | SPIFFS_UNLOCK(fs) test_unlock(fs) |
#define | SPIFFS_DBG(_f, ...) |
#define | SPIFFS_API_DBG(_f, ...) |
#define | SPIFFS_GC_DBG(_f, ...) |
#define | SPIFFS_CACHE_DBG(_f, ...) |
#define | SPIFFS_CHECK_DBG(_f, ...) |
Typedefs | |
typedef signed int | s32_t |
typedef unsigned int | u32_t |
typedef signed short | s16_t |
typedef unsigned short | u16_t |
typedef signed char | s8_t |
typedef unsigned char | u8_t |
Functions | |
void | real_assert (int c, const char *n, const char *file, int l) |
void | test_lock (struct spiffs_t *fs) |
void | test_unlock (struct spiffs_t *fs) |
Macro Definition Documentation
◆ ASSERT
#define ASSERT | ( | c, | |
m | |||
) | real_assert((c),(m), __FILE__, __LINE__); |
◆ DEFAULT_NUM_CACHE_PAGES
#define DEFAULT_NUM_CACHE_PAGES 8 |
◆ DEFAULT_NUM_FD
#define DEFAULT_NUM_FD 16 |
◆ LOG_BLOCK
#define LOG_BLOCK (SECTOR_SIZE*2) |
◆ LOG_PAGE
#define LOG_PAGE (SECTOR_SIZE/256) |
◆ PHYS_FLASH_SIZE
#define PHYS_FLASH_SIZE (16*1024*1024) |
◆ SECTOR_SIZE
#define SECTOR_SIZE 65536 |
◆ SPIFFS_API_DBG
#define SPIFFS_API_DBG | ( | _f, | |
... | |||
) |
◆ SPIFFS_CACHE_DBG
#define SPIFFS_CACHE_DBG | ( | _f, | |
... | |||
) |
◆ SPIFFS_CHECK_DBG
#define SPIFFS_CHECK_DBG | ( | _f, | |
... | |||
) |
◆ SPIFFS_DBG
#define SPIFFS_DBG | ( | _f, | |
... | |||
) |
◆ SPIFFS_FILEHDL_OFFSET
#define SPIFFS_FILEHDL_OFFSET 1 |
◆ SPIFFS_FLASH_SIZE
#define SPIFFS_FLASH_SIZE (2*1024*1024) |
◆ SPIFFS_GC_DBG
#define SPIFFS_GC_DBG | ( | _f, | |
... | |||
) |
◆ SPIFFS_HAL_CALLBACK_EXTRA
#define SPIFFS_HAL_CALLBACK_EXTRA 1 |
◆ SPIFFS_LOCK
#define SPIFFS_LOCK | ( | fs | ) | test_lock(fs) |
◆ SPIFFS_PHYS_ADDR
#define SPIFFS_PHYS_ADDR (4*1024*1024) |
◆ SPIFFS_UNLOCK
#define SPIFFS_UNLOCK | ( | fs | ) | test_unlock(fs) |
◆ SPIFFS_USE_MAGIC
#define SPIFFS_USE_MAGIC 1 |
◆ SPIFFS_USE_MAGIC_LENGTH
#define SPIFFS_USE_MAGIC_LENGTH 1 |
◆ TEST_PATH
◆ TEST_SPIFFS_FILEHDL_OFFSET
#define TEST_SPIFFS_FILEHDL_OFFSET 0x1000 |
Typedef Documentation
◆ s16_t
typedef signed short s16_t |
◆ s32_t
◆ s8_t
typedef signed char s8_t |
◆ u16_t
typedef unsigned short u16_t |
◆ u32_t
◆ u8_t
typedef unsigned char u8_t |
Function Documentation
◆ real_assert()
◆ test_lock()
void test_lock | ( | struct spiffs_t * | fs | ) |
◆ test_unlock()
void test_unlock | ( | struct spiffs_t * | fs | ) |