FatFS
TAG
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
vfs_fat_spiflash.c:22
static
const
char
*
TAG
=
"vfs_fat_spiflash"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"vfs_fat_spiflash"
;
vfs_fat_spiflash.c:22
ESP_LOGW
(
TAG
,
"f_mount failed (%d)"
,
fresult
)
;
vfs_fat_spiflash.c:85
s_f_mount_rw()
ESP_LOGI
(
TAG
,
"Formatting FATFS partition, allocation unit size=%d"
,
alloc_unit_size
)
;
vfs_fat_spiflash.c:99
s_f_mount_rw()
ESP_RETURN_ON_FALSE
(
fresult
==
FR_OK
,
ESP_FAIL
,
TAG
,
"f_mkfs failed (%d)"
,
fresult
)
;
vfs_fat_spiflash.c:110
s_f_mount_rw()
ESP_LOGI
(
TAG
,
"Mounting again"
)
;
vfs_fat_spiflash.c:116
s_f_mount_rw()
ESP_RETURN_ON_FALSE
(
fresult
==
FR_OK
,
ESP_FAIL
,
TAG
,
"f_mount failed after formatting (%d)"
,
fresult
)
;
vfs_fat_spiflash.c:118
s_f_mount_rw()
ESP_RETURN_ON_FALSE
(
data_partition
,
ESP_ERR_NOT_FOUND
,
TAG
,
"Failed to find FATFS partition (type='data', subtype='fat', partition_label='%s'). Check the partition table."
,
partition_label
)
;
vfs_fat_spiflash.c:140
esp_vfs_fat_spiflash_mount_rw_wl()
ESP_RETURN_ON_ERROR
(
wl_mount
(
data_partition
,
wl_handle
)
,
TAG
,
"failed to mount wear levelling layer. ret = %i"
,
ret
)
;
vfs_fat_spiflash.c:142
esp_vfs_fat_spiflash_mount_rw_wl()
ESP_LOGD
(
TAG
,
"the maximum count of volumes is already mounted"
)
;
vfs_fat_spiflash.c:147
esp_vfs_fat_spiflash_mount_rw_wl()
ESP_LOGD
(
TAG
,
"using pdrv=%i"
,
pdrv
)
;
vfs_fat_spiflash.c:150
esp_vfs_fat_spiflash_mount_rw_wl()
ESP_GOTO_ON_ERROR
(
ff_diskio_register_wl_partition
(
pdrv
,
*
wl_handle
)
,
fail
,
TAG
,
"ff_diskio_register_wl_partition failed pdrv=%i, error - 0x(%x)"
,
pdrv
,
ret
)
;
vfs_fat_spiflash.c:152
esp_vfs_fat_spiflash_mount_rw_wl()
ESP_LOGD
(
TAG
,
"esp_vfs_fat_register_cfg failed 0x(%x)"
,
ret
)
;
vfs_fat_spiflash.c:164
esp_vfs_fat_spiflash_mount_rw_wl()
ESP_GOTO_ON_FALSE
(
ctx
,
ESP_ERR_NO_MEM
,
fail
,
TAG
,
"no mem"
)
;
vfs_fat_spiflash.c:178
esp_vfs_fat_spiflash_mount_rw_wl()
ESP_RETURN_ON_FALSE
(
pdrv
!=
0xff
,
ESP_ERR_INVALID_STATE
,
TAG
,
"partition isn't registered, call esp_vfs_fat_spiflash_mount_rw_wl first"
)
;
vfs_fat_spiflash.c:207
esp_vfs_fat_spiflash_unmount_rw_wl()
ESP_RETURN_ON_FALSE
(
s_get_context_id_by_wl_handle
(
wl_handle
,
&
id
)
,
ESP_ERR_INVALID_STATE
,
TAG
,
"partition isn't registered, call esp_vfs_fat_spiflash_mount_rw_wl first"
)
;
vfs_fat_spiflash.c:210
esp_vfs_fat_spiflash_unmount_rw_wl()
ESP_RETURN_ON_ERROR
(
esp_vfs_fat_spiflash_mount_rw_wl
(
base_path
,
partition_label
,
mount_cfg
,
&
temp_handle
)
,
TAG
,
"Failed to mount"
)
;
vfs_fat_spiflash.c:252
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_LOGD
(
TAG
,
"partition was formatted during mounting, skipping another format"
)
;
vfs_fat_spiflash.c:257
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_RETURN_ON_FALSE
(
fresult
!=
FR_INVALID_DRIVE
,
ESP_FAIL
,
TAG
,
"f_mount unmount failed (%d) - the logical drive number is invalid"
,
fresult
)
;
vfs_fat_spiflash.c:273
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_GOTO_ON_FALSE
(
fresult
==
FR_OK
,
ESP_FAIL
,
recycle
,
TAG
,
"f_mount unmount failed (%d), go to recycle"
,
fresult
)
;
vfs_fat_spiflash.c:274
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_LOGI
(
TAG
,
"Formatting FATFS partition, allocation unit size=%d"
,
alloc_unit_size
)
;
vfs_fat_spiflash.c:283
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_GOTO_ON_FALSE
(
fresult
==
FR_OK
,
ESP_FAIL
,
mount_back
,
TAG
,
"f_mkfs failed (%d)"
,
fresult
)
;
vfs_fat_spiflash.c:294
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_LOGE
(
TAG
,
"failed to mount back, go to recycle"
)
;
vfs_fat_spiflash.c:300
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_LOGE
(
TAG
,
"failed to format, resources recycled, please mount again"
)
;
vfs_fat_spiflash.c:315
esp_vfs_fat_spiflash_format_cfg_rw_wl()
ESP_RETURN_ON_FALSE
(
data_partition
,
ESP_ERR_NOT_FOUND
,
TAG
,
"Failed to find FATFS partition (type='data', subtype='fat', partition_label='%s'). Check the partition table."
,
partition_label
)
;
vfs_fat_spiflash.c:332
esp_vfs_fat_spiflash_mount_ro()
ESP_LOGD
(
TAG
,
"the maximum count of volumes is already mounted"
)
;
vfs_fat_spiflash.c:337
esp_vfs_fat_spiflash_mount_ro()
ESP_LOGD
(
TAG
,
"using pdrv=%i"
,
pdrv
)
;
vfs_fat_spiflash.c:340
esp_vfs_fat_spiflash_mount_ro()
ESP_GOTO_ON_ERROR
(
ff_diskio_register_raw_partition
(
pdrv
,
data_partition
)
,
fail
,
TAG
,
"ff_diskio_register_raw_partition failed pdrv=%i, error - 0x(%x)"
,
pdrv
,
ret
)
;
vfs_fat_spiflash.c:342
esp_vfs_fat_spiflash_mount_ro()
ESP_LOGD
(
TAG
,
"esp_vfs_fat_register_cfg failed 0x(%x)"
,
ret
)
;
vfs_fat_spiflash.c:354
esp_vfs_fat_spiflash_mount_ro()
ESP_LOGW
(
TAG
,
"f_mount failed (%d)"
,
fresult
)
;
vfs_fat_spiflash.c:361
esp_vfs_fat_spiflash_mount_ro()
ESP_RETURN_ON_FALSE
(
data_partition
,
ESP_ERR_NOT_FOUND
,
TAG
,
"Failed to find FATFS partition (type='data', subtype='fat', partition_label='%s'). Check the partition table."
,
partition_label
)
;
vfs_fat_spiflash.c:382
esp_vfs_fat_spiflash_unmount_ro()
ESP_RETURN_ON_FALSE
(
pdrv
!=
0xff
,
ESP_ERR_INVALID_STATE
,
TAG
,
"partition isn't registered, call esp_vfs_fat_spiflash_mount_ro first"
)
;
vfs_fat_spiflash.c:385
esp_vfs_fat_spiflash_unmount_ro()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 6 functions:
All items filtered out
TAG
s_f_mount_rw()
esp_vfs_fat_spiflash_mount_rw_wl()
esp_vfs_fat_spiflash_unmount_rw_wl()
esp_vfs_fat_spiflash_format_cfg_rw_wl()
esp_vfs_fat_spiflash_mount_ro()
esp_vfs_fat_spiflash_unmount_ro()
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
All items filtered out
All items filtered out