Adding a Library to an Existing BSP Using Vitis Unified IDE - Adding a Library to an Existing BSP Using Vitis Unified IDE - 2025.2 English - UG643

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

Document ID
UG643
Release Date
2025-11-20
Version
2025.2 English
Configures lwip220, xilfpga, and xilffs libraries in BSP in the Vitis Unified IDE.
  1. Click File > New Component > Platform.
  2. In the Name and Location window, enter the platform name in the Component name and select Component Location.
  3. Click Next.
  4. In the Select Platform Creation Flow, provide XSA details:
    • Hardware Design Enable this option to select hardware design from the available drop-down options.
    • Existing Platform Enable this option to select platform created from another project.
      Note: If the workspace is not setup in the beginning, click Open Workspace. Workspace created in the classic IDE is not supported in the Vitis Unified IDE.
  5. In the Select Operating System and Processor window, select Operating system and Processor from the drop-down menu.
  6. In the Summary window, review the details and click on Finish to complete the platform creation.
  7. The created platform appears in Vitis component and in vitis-comp.json <Component name> view.
  8. In vitis-comp.json view, click Board Support Package.
  9. In the Supported Libraries, enable the relevant library.
    The added library appears in the Board Support Package tree in the vitis-comp.json tab.
  10. Double-click the library name to open Configuration for Library.
  11. Change the selection as appropriate. Click VALUE column for each NAME to select from the available configuration options.
    Note:
    • For XilFFS library configuration, SD interface is selected by default. To use the RAM interface, change XILFFS_fs_interface parameter value to 2.
    • For details of additional parameter configuration, see Library Parameters in MSS File section in the corresponding Library of this document.
  12. Click Ok. Applying the selected configuration to the BSP takes a few minutes. When the selection is successful, continue building the platform project.