bsp setlib - 2025.2 English - UG1725

Software Debugger Reference Guide (UG1725)

Document ID
UG1725
Release Date
2025-11-20
Version
2025.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.