ESP-IDF
esp_spiffs_init()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_spiffs_init()
esp_spiffs_init() function
Syntax
Show:
Summary
Declaration
from
esp_spiffs.c:135
static
esp_err_t
esp_spiffs_init
(
const
esp_vfs_spiffs_conf_t
*
conf
)
;
Arguments
Argument
conf
Related Functions
Found 1 other functions taking a
esp_vfs_spiffs_conf_t
argument:
Function
Description
esp_vfs_spiffs_register()
Register and mount SPIFFS to VFS with given path prefix.
Examples
References
from
examples
Code
Location
Referrer
static
esp_err_t
esp_spiffs_init
(
const
esp_vfs_spiffs_conf_t
*
conf
)
esp_spiffs.c:135
err
=
esp_spiffs_init
(
&
conf
)
;
esp_spiffs.c:343
esp_spiffs_format()
esp_err_t
err
=
esp_spiffs_init
(
conf
)
;
esp_spiffs.c:443
esp_vfs_spiffs_register()
Call Tree
from
examples
esp_spiffs_init()
is called by 2 functions and calls 12 functions:
esp_spiffs_format()
esp_vfs_spiffs_register()
All items filtered out
esp_spiffs_init()
calloc()
esp_log_timestamp()
esp_log_write()
xQueueCreateMutex()
esp_partition_find_first()
SPIFFS_mount()
SPIFFS_errno()
SPIFFS_clearerr()
SPIFFS_format()
esp_spiffs_free()
esp_spiffs_by_label()
esp_spiffs_get_empty()
All items filtered out
Data Use
from
examples
esp_spiffs_init()
reads 32 variables and writes 18 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
esp_partition_type_t::ESP_PARTITION_TYPE_DATA
esp_partition_subtype_t::ESP_PARTITION_SUBTYPE_DATA_SPIFFS
esp_partition_subtype_t::ESP_PARTITION_SUBTYPE_ANY
esp_partition_t::address
esp_partition_t::size
esp_partition_t::encrypted
esp_rom_spiflash_chip_t::sector_size
esp_rom_spiflash_chip_t::page_size
g_rom_flashchip
esp_vfs_spiffs_conf_t::partition_label
esp_vfs_spiffs_conf_t::max_files
esp_vfs_spiffs_conf_t::format_if_mount_failed
spiffs_config::log_page_size
esp_spiffs_t::fs
esp_spiffs_t::lock
spiffs_api_read()
spiffs_api_write()
esp_spiffs_t::cfg
esp_spiffs_t::work
esp_spiffs_t::fds
esp_spiffs_t::fds_sz
esp_spiffs_t::cache
esp_spiffs_t::cache_sz
spiffs_api_erase()
spiffs_api_check()
TAG
_efs
All items filtered out
esp_spiffs_init()
spiffs_config::hal_read_f
spiffs_config::hal_write_f
spiffs_config::hal_erase_f
spiffs_config::phys_size
spiffs_config::phys_addr
spiffs_config::phys_erase_block
spiffs_config::log_block_size
spiffs_config::log_page_size
spiffs_t::user_data
esp_spiffs_t::fs
esp_spiffs_t::lock
esp_spiffs_t::partition
esp_spiffs_t::by_label
esp_spiffs_t::work
esp_spiffs_t::fds
esp_spiffs_t::fds_sz
esp_spiffs_t::cache
esp_spiffs_t::cache_sz
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
esp_spiffs_init()
frees 2 typess:
All items filtered out
esp_spiffs_init()
spiffs_t
esp_spiffs_t
All items filtered out