Configure the active platform.
platform config [options]
Configure the properties of active platform.
|Add a brief description about the platform.
|Update the platform to use a new hardware specification file specified by
|Make the application template specified in
<samples-dir> part of the platform. This option can only be used for acceleratable applications. "repo -apps
<platform-name>" can be used to list the application templates available for the given platform-name.
|For expandable platforms, pre-generated hardware data specified in directory-name will be used for building user applications that do not contain accelerators. This will reduce the build time.
|Make the referenced SW components local to the platform.
|Processor-type for which the existing fsbl has to be re-generated. This option is valid only for ZU+.
|Generate boot components for the platform.
|Remove all the boot components generated during platform creation.
|Prebuilt fsbl.elf to be used as boot component when "remove-boot-bsp" option is specified.
|Prebuilt pmufw.elf to be used as boot component when "remove-boot-bsp" option is specified.
-extra-compiler-flags <param> <value>
|Set extra compiler flag for the parameter with a provided value. Only FSBL and PMUFW are the supported parameters. If the value is not passed, the existing value will return.
-extra-linker-flags <param> <value>
|Set extra linker flag for the parameter with a provided value. Only FSBL and PMUFW are the supported parameters. If the value is not passed, the existing value will return.
|Resets the extra compiler and linker flags. Only FSBL and PMUFW are the supported parameters.
|Return the list of extra compiler and linker flags set to the given parameter. Only FSBL and PMUFW are the supported parameters.
Empty string, if the platform is configured successfully. Error string, if no platform is active or if the platform cannot be configured.
platform active zc702
platform config -desc "ZC702 with memory test application"
Make zc702 the active platform, configure the description of the platform, and make samples in the /home/user/newDir part of the platform.
platform config -updatehw /home/user/newdesign.xsa
Updates the platform project with the new XSA.
platform config -fsbl-target psu_cortexr5_0
Changes the FSBL target to psu_cortexr5_0.
platform config -extra-compiler-flags fsbl
Get the extra compiler flags. These are the flags added extra to the flags derived from the libraries, processor, and OS.
platform config -extra-compiler-flags fsbl "-DFSBL_DEBUG_INFO [platform config
Prepend -DFSBL_DEBUG_INFO to the compiler options, while building the fsbl application.
platform config -report fsbl
Return table of extra compiler and extra linker flags that are set for FSBL.
Platform config -create-boot-bsp
Create the boot components for the platform.
Platform config -create-boot-bsp -arch 32-bit
Create the boot components for the platform, creating FSBL in 32-bit. This is valid only for Zynq UltraScale+ MPSoC based platforms.
Platform config -remove-boot-bsp
Remove all the boot components generated during platform creation.