cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bv
Visitor
Visitor
10,682 Views
Registered: ‎11-24-2011

ReCompile and ReBuild BSP with SDK

When I make a change to C file in the app SDK recompiles and rebuilds the app with no problem.  However when I make a change to a BSP C file SDK doesn't recompile or rebuild the BSP.  How do I get a BSP change to take affect?  Running ISE 13.2. 

0 Kudos
Reply
11 Replies
htsvn
Xilinx Employee
Xilinx Employee
10,680 Views
Registered: ‎08-02-2007

Hi,

 

Please try the following:-

 

1. Go to SDK GUI -> Project -> Clean -> Select Clean projects selected below -> Select the BSP.

 

2. Click Project -> Build All.

 

Try this and let us know if this works.

 

 

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Reply
bv
Visitor
Visitor
10,678 Views
Registered: ‎11-24-2011

Tried Cleaning and Rebuilding All twice and unfortunately each time it deleted my changes and went back to the original source. 

 

I'm trying to put some print statements in init.c file of the lwIP xapp1026 demo in the raw_bsp/microblaze_0/libsrc/lwip130_v3_01_a/src/lwip-1.3.0/src/core directory.  Don't suppose it matters but I'm only using raw mode, haven't tried sockets yet.

0 Kudos
Reply
bv
Visitor
Visitor
10,665 Views
Registered: ‎11-24-2011

Changing the Project Explorer copy of  main.c works fine but changing BSP init.c doesn't.  But if I change init.c in the directory where it was imported from and then do a Clean it works.  Don't really want to change the original source, just the working copy in the Project Explorer.  Shouldn't I be able to do this?

 

0 Kudos
Reply
htsvn
Xilinx Employee
Xilinx Employee
10,661 Views
Registered: ‎08-02-2007

Hi,

 

Have you tried to set the Xilinx Tools -> Repositories to the location where the modification was made?

 

 

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Reply
bv
Visitor
Visitor
10,659 Views
Registered: ‎11-24-2011

Changed the Local Repositories Preferences to include the RAW BSP folder and when I make a change to init.c it says Nothing to Do so I click Clean then it reverts back to the original source and removes my changes.  I tried adding the RAW BSP folderto teh bottom and left the original repository as the first, and also tried swapping priorities and put the RAW BSP folder on top., still no luck.  Also removed the original repository and just left the RAW BSP folder - still no luck. 

 

It's gotta be something simple, it's just the xapp1026 lwIP demo.  Can you try it, or can I can call someone ?  Would openning a Web Case help?

 

0 Kudos
Reply
htsvn
Xilinx Employee
Xilinx Employee
10,657 Views
Registered: ‎08-02-2007

Hi,

 

Last thing to try. Set the repositories -> Close out SDK -> Launch SDK again. Check if the BSP is taken into account

 

If this does not help, file a webcase :)

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Reply
bv
Visitor
Visitor
10,653 Views
Registered: ‎11-24-2011

Same thing.  Too much trouble for you to try this?  If so I'll file a Web Case and ref this thread.

0 Kudos
Reply
gongy
Newbie
Newbie
10,606 Views
Registered: ‎02-24-2012

Any solution? I have the same problem.

0 Kudos
Reply
chadigo
Observer
Observer
8,682 Views
Registered: ‎05-18-2009

I'm also having the same problem.
0 Kudos
Reply
chadigo
Observer
Observer
3,302 Views
Registered: ‎05-18-2009

This doesn't seem like a resolution to your issue, but I was able to make adjustments to LWIP settings the following way.  My problem was more of a "new to SDK".

 

-  Open the system.mss file

-  On top there is a button that states "Modify this BSP's Settings"

-  Navigate to lwip140

-  Adjust settings as needed

-  OK

-  Regenerate BSP, and the settings persist

0 Kudos
Reply
htsvn
Xilinx Employee
Xilinx Employee
3,297 Views
Registered: ‎08-02-2007

Hi,

 

If you would want to customize the BSP and re-build it consistently, please follow this procedure.

 

http://www.xilinx.com/support/answers/35443.html

 

--Hem

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Reply