Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: TOC, formatting

How to make local copies of Libraries in SDK

If users want to make modifications to a BSP/library, or Driver source in SDK these will be overwritten if the BSP is regenerated. The recommended way to do this is to make a local copy of the library, driver or bsp

...

and add this as a repository in SDK.

...

In this example,

...

we'll modify lwip.

Table of Contents

...

Table of Contents
excludeTable of Contents


Step 1: Copy the LwIP library from the SDK install:

...

Image Added


Step 2: Set up the folder hierarchy and copy:

The folder hierarchy here is important, this should match the the same hierarchy in the SDK install:
Image Modified


Copy the lwip141_v2_0 from the SDK install to the sw_services folder in your local repo

Note: I have updated the MLD file to let me know that I am using a custom version of the library:
Image Modified



Step 3: Add the repository to SDK:


Xilinx -> Repostories. Select New, and point to the repo folder:
Image Modified
Note: Users will need to Rescan Repositories everytime a change is made to the source files.

Step 4: Build the BSP, and enable LwIP to test

...

Create a BSP, and in the BSP settings, you should see the custom lwip:

Image Modified