Many functions of pico-vfs are provided as POSIX and C standard file APIs, but the file system management procedures are provided by an API with the prefix fs_*
. See STANDARD.md for information on the POSIX and C standard file API.
File system set-up. The user programme calls fs_init()
to set up the file system and initialise it to a ready-to-use state.
In addition to explicit execution from the program, the CMake function
pico_enable_filesystem(${CMAKE_PROJECT_NAME} AUTO_INIT TRUE)
can be specified to automatically execute it with pre_main()
before main()
.
Format block devices using file system objects.
Mounts the file system at the specified path.
Unmounts the file system at the specified path.
Reformat the file system for the specified path.