configbsp

Configure settings for BSP projects.

Syntax

configbsp [OPTIONS] [<param-name> [<value>]]

If <param-name> and <value> are not specified, returns the details of all configurable parameters of processor, os, or all libraries in BSP. If <param-name> is specified and <value> value is not specified, return the value of the parameter. If <param-name> and <value> are specified, set the value of parameter.

Options

Option Description
-bsp <bsp-proj | mss file> BSP project or mss file.
-proc Return the configurable parameters of processor in BSP.
-os Return the configurable parameters of OS in BSP.
-lib <lib-name> Return the configurable parameters of library <lib-name> in BSP.
-append Append the value to the parameter in BSP.

Returns

Depends on the arguments specified.

<none>: List of parameters and description of each parameter of processor, os, or libs depending on the option specified.

<parameter>: Parameter value or error, if unsupported parameter is specified.

<parameter> <value>: Nothing if the value is set, or error, if unsupported parameter is specified.

Example(s)

configbsp -bsp system.mss -os

Return the list of configurable parameters of the OS in the BSP.

configbsp -bsp system.mss -proc

Return the list of configurable parameters of processor in the BSP.

configbsp -bsp bsp1 -lib xilisf

Return the list of configurable parameters of library "xilisf" in the BSP.

configbsp -bsp system.mss extra_compiler_flags

Return the value of parameter 'extra_compiler_flags' in the BSP.

configbsp -bsp system.mss extra_compiler_flags "-pg"

Set "-pg" as the value of parameter 'extra_compiler_flags' in the BSP.

configbsp -bsp system.mss -append extra_compiler_flags "-pg"

Append "-pg" to the value of parameter 'extra_compiler_flags' in the BSP