cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation of STM32 FW Lib into library files *.a under CrossWorks/GCC?

Posted on May 02, 2009 at 18:42

Compilation of STM32 FW Lib into library files *.a under CrossWorks/GCC?

3 REPLIES 3
Posted on May 17, 2011 at 13:09

Is it possible to compile STM32 FW library sources into real library files (*.a)? I suppose, that linker can then link only functions that are needed.

If it is, how to do it in CrossWorks/GCC?

Ivan

ngaylard
Associate II
Posted on May 17, 2011 at 13:09

Yes it is possible. What I have done is the following:

Setup a directory with the STM library in it.

In my solution I created a 2nd Project using the library options.

From the menu select Project->Dependancies and then ensure that your primary project within the solution is dependant on the library and it works.

Rowley have a few FAQ's related to this on their website. I haven't tried using the externally linked option yet where the 2nd project is not in the solution(although I may do so that my workspace isn't cluttered with hundreds of functions that I am not that interested in)

Posted on May 17, 2011 at 13:09

Thank you for detailed quide.

However, I have already left CrossWorks.