How can I use a patched driver within the SDK?
SDK provides a way to specify custom repository folders where patched drivers as well as third-party drivers, libraries etc. can be placed.
As documented in the SDK Help, local repositories takes precedence over Global repositories so they can be used to patch an existing driver using the same version number.
The custom repository (with the new driver) can be added to the project using the GUI or in batch mode.
1) Select Xilinx > Repositories.
2) Add the driver's parent folder as a new repository.
Note: The repository folder needs to contain the appropriate "driver", "sw_services", etc. folders.
Note: If a BSP has already been created, it needs to be updated with the new driver. Use the Re-generate BSP Sources option.
Below is an example of a Tcl script to create a BSP with a user repository: