03-13-2014 05:27 AM
Hi all; I want to change the codes of the BSPs created. e.g return values of some functions... My project structure is like the picture below. I created a BSP and LwIP echo server application. (this application works fine).
But when I try to change the codes in parts related to emac, these changes are not reflected. It is like default BSP's are hard coded and I 'm unable to modify these. I found this answer, it is related to my question but unfortunately when I apply the instructions in the this link, a lot of errors appeared, like Some files or macros or types are not found/defined. Standalone folder comes full of errors.. etc.
So my question is, how can I transform these BSP and drivers into editable form and use these without getting errors, what is missing ?
03-13-2014 04:13 PM
03-14-2014 05:21 AM
Hi. Still no success
I want to edit the emac driver which can be found in
So what I understand is, this driver should be copied into repository.
I copied it to the
So path of the driver is now
I added my repo to the global repository list as follows Xilinx Tools -> Repositories.
Rescanned, applied, clicked OK and restarted Workspace.
Now, I right click to my BSP and choose Board Support Package Settings
There is none, generic and emacps in ps7_ethernet_0
I thougt that might be because of they have same names. I tried changing folder name and/or mdd file but result is still same.
So, what is missing, I cant see the name of the driver in the repository. What more should I do?
03-17-2014 06:18 AM
Make sure you change the line 'BEGIN driver emacps' to the new driver name in the mdd file. If you still don't see the new driver name, then check the SDK repository settings.
BTW: remove any spaces from the dir name of your new driver.
03-18-2014 09:52 PM
It's ok to have your local driver have the same name and version as the SDK-provided one if you intend for it to be a replacement -- if there's a conflict, the local driver wins.
The step you're probably missing is that even after editing the file and rescanning the repositories, you must explicitly clean and build the BSP project before it will include the changed files.