bsp setlib - 2023.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English

Adds the library to the BSP settings.

Syntax

bsp setlib [options]

Queues the library for addition to the active BSP. 'bsp write' will commit the queued libraries to the mss. The newly added libraries become available to the application projects after the platform is generated. If the user wants to build the platform from GUI without committing the queued libraries to mss, then the project must be cleaned first.

Options

Option Description
-name <lib-name> Library to be added to the BSP settings. This is the default option, so lib-name can be directly specified as an argument without using this option.
-ver <version> Library version.

Returns

Nothing, if the library is set successfully. Error string, if the library cannot be set.

Examples

bsp setlib -name xilffs

Add the xilffs library to the BSP settings.