Libraries search path chaos

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Libraries search path chaos

2,108 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hno-msc on Thu Dec 11 08:38:59 MST 2014
I have a really annoying problem with mit library search path.

I extended the project apporach of lpcopen and added several other ptoject libs to sahre code between different firmwares.
So I set the required paths for the linking phase in

Properties>C/C++ Build>Setting>MCU Linker>Libraries

Lpcexpresso is now mixing up this paths on a regular base especially when i want to change the active configuration, this is quite bad because the order during the linking phase is not optional!

It seems to be that there are some helper modules of eclipse running in the backlground and try to gather this information.

Anyone has an idea how to prevent this behaviour??

0 Kudos
Reply
10 Replies

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Dec 11 09:54:16 MST 2014
OK, I thought you were referring to library projects created by the Wizard. The LPCOpen projects are not created by the Wizards, which is why they do not have this included.
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu Dec 11 09:49:24 MST 2014

Quote: lpcxpresso-support

Quote:
Unfortunately this XML file isn't generated with newer LPCXpresso versions



It is generated here... Please explain where it is not being created and we will investigate why.



At least LPCOpen libraries (lpc_board_nxp_lpcxpresso_1549) are still without Smart update files...

See: http://www.lpcware.com/content/forum/how-create-smart-update-liblinksxml
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hno-msc on Thu Dec 11 09:46:18 MST 2014

Quote: lpcxpresso-support

Quote:
Unfortunately this XML file isn't generated with newer LPCXpresso versions



It is generated here... Please explain where it is not being created and we will investigate why.




http://www.lpcware.com/content/forum/how-create-smart-update-liblinksxml
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu Dec 11 09:38:04 MST 2014
This sample is adding CMSIS_CORE_LPC17xx. So just change this library name and it's working with your libraries  :)

Probably you don't need a def setting, so you can delete it...


Quote:
setting id="all.compiler.def"
value__USE_CMSIS=CMSIS_CORE_LPC17xx /value
/setting


0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Dec 11 09:35:58 MST 2014

Quote:
What is now happening that eclipse is changing the list under MCU Linker >> Libraries

* changign the order
* replacing /Debug with /Release and so on
* removing entries
* adding entries




Can you provide example? It is not doing that on our projects...
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Dec 11 09:34:32 MST 2014

Quote:
Unfortunately this XML file isn't generated with newer LPCXpresso versions



It is generated here... Please explain where it is not being created and we will investigate why.
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hno-msc on Thu Dec 11 09:23:09 MST 2014
yeah read some stuff about smart update

can you provide a sample file pls
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu Dec 11 09:22:11 MST 2014

Quote: hno-msc
Anyone has an idea how to prevent this behaviour??



'Smart update' is a good solution to add all library settings...

Unfortunately this XML file isn't generated with newer LPCXpresso versions  :((

So I'm copying an old one and changing project names manually  :)
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hno-msc on Thu Dec 11 08:59:36 MST 2014
I followed this guide:

http://www.lpcware.com/content/faq/lpcxpresso/creating-linking-library-projects >> Manually creating links to library projects

What is now happening that eclipse is changing the list under MCU Linker >> Libraries

* changign the order
* replacing /Debug with /Release and so on
* removing entries
* adding entries

How is C/C++ General >> Paths and Symbols related to all this? It is possible to add stiff there too but this leads to even more weird behaviour

ty in advance for your help
0 Kudos
Reply

2,083 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Dec 11 08:53:07 MST 2014
Sorry, but it is not clear what you mean. Can you please explain EXACTLY how you have configured your projects, what is happening, and what you do to provoke the problem.

There are no "helper modules of eclipse running in the background" that will cause any problems.
0 Kudos
Reply