Skip to content

Commit 35b5b52

Browse files
authored
Added config for FAT label (espressif#178)
This activates the code for f_setlabel() and f_getlabel. These functions should take up less than 1k of symbol space. Once these are available, I will add one-liner functions to the FFat and SD libraries to set/get volume name. I'm working on an example which exposes an SD card through the USBMSC, and being able to set the name would be a very nice touch.
1 parent 536bdcb commit 35b5b52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configs/defconfig.common

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ CONFIG_FATFS_CODEPAGE_850=y
3636
CONFIG_FATFS_LFN_STACK=y
3737
# CONFIG_FATFS_API_ENCODING_ANSI_OEM is not set
3838
CONFIG_FATFS_API_ENCODING_UTF_8=y
39+
CONFIG_FATFS_USE_LABEL=y
3940
# CONFIG_FMB_CONTROLLER_SLAVE_ID_SUPPORT is not set
4041
CONFIG_FMB_TIMER_PORT_ENABLED=y
4142
CONFIG_FREERTOS_HZ=1000

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy