Library Parameters in MSS File in Vitis Classic IDE - Library Parameters in MSS File in Vitis Classic IDE - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

XilFFS Library can be integrated with a system using the following code snippet in the Microprocessor Software Specification (MSS) file.

Note: In the Vitis Unified IDE, the parameter names are prefixed with the library name. For example, XILFFS_fs_interface.

The following table describes the xilffs customization parameters:

Table 1. Library Parameters in MSS File
Parameter Default Value Description
LIBRARY_NAME xilffs Specifies the library name.
LIBRARY_VER 5.6 Specifies the library version.
fs_interface 1 for SD/eMMC/UFS 2 for RAM File system interface. SD/eMMC/UFS and RAM based file system are supported.
read_only False Enables the file system in Read Only mode, if true. Default is false. For Zynq UltraScale+ MPSoC devices, sets this option as true.
use_lfn 0 Enables the Long File Name(LFN) support if non-zero. 0: Disabled (Default) 1: LFN with static working buffer 2 (on stack) or 3 (on heap): Dynamic working buffer
enable_multi_partitio False Enables the multi partition support, if true.
num_logical_vol 2 Number of volumes (logical drives, from 1 to 10) to be used.
use_mkfs True Enables the mkfs support, if true. For Zynq UltraScale+ MPSoC devices, set this option as false.
use_strfunc 0 Enables the string functions (valid values 0 to 2). Default is 0.
set_fs_rpath 0 Configures relative path feature (valid values 0 to 2). Default is 0.
ramfs_size 3145728 Ram FS size is applicable only when RAM based file system is selected.
ramfs_start_addr 0x10000000 RAM FS start address is applicable only when RAM based file system is selected.
enable_exfat false Enables support for exFAT file system. 0: Disable exFAT 1: Enable exFAT(Also Enables LFN)
word_access True Enables word access for misaligned memory access platform.
use_chmod false Enables use of CHMOD functionality for changing attributes (valid only with read_only set to false).
use_trim false Disable(0) or Enable(1) TRIM function. Zynq UltraScale+ MpSoC FSBL sets this to false.