2009-05-02 09:42 AM
Compilation of STM32 FW Lib into library files *.a under CrossWorks/GCC?
2011-05-17 04:09 AM
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? Ivan2011-05-17 04:09 AM
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)2011-05-17 04:09 AM
Thank you for detailed quide.
However, I have already left CrossWorks.