To customize and version-control the platform BSP, you can keep a local copy of the BSP source repository. Modify the BSP source as needed, then create or regenerate your platform BSP based on the updated local source. Follow the steps below.
- Download the embedded BSP
repository.
git clone https://github.com/Xilinx/embeddedsw.git - Switch the
version.
cd embeddedsw & git checkout xilinx_v2025.2 # select the version you need accordingly. - Launch the Vitis Unified IDE and go to the
Vitis menu and select Embedded SW Repositories.
- Click + to add a
local repository, then browse to and select the downloaded embedded BSP
repositories.
- Click Rescan Repositories to ensure the repository is detected by IDE.
- Click OK.
- Select the BSP you need to use when creating the platform
- Open the Platform Component JSON file and select Board Support Package in the left panel.
- Click the drop-down arrow beside the Location box and select the option which reflect the local BSP repositories.
- Click Regenerate BSP.
In this case, you can create the platform BSP from your local repositories, allowing you to update and manage it under source control easily. There’s no need to maintain or version-control the BSP within the platform directory itself.