Undefined references when compiling any ST STM3210B-EVAL FWLib Examples
Originally from ticket #7707.
I see a linker error which I cannot figure out, no matter what I try to do...THUMB Flash Debug/thumb_crt0.o:In function '_putchar':
undefined reference to '_stack_process_end_'
undefined reference to '_stack_process_start_'
I have attached a screen shot for your viewing pleasure...How can this be fixed? I've made sure the flash section file is there. I think this just popped up recently! I have seen the same error when I downloaded the H103 examples at work...Would be nice to get this fixed, since that is the most complete arsenal of examples from Rowley...We just bought a professional copy of your compiler for work, so I'm anxious to toot your horn! ;)
Is this a project created from a STM32F10x project template? If so you'd be better off recreating it with the STM32 project template. For a quick fix ensure that the section placement file is the $(TargetsDir)/Cortex_M/flash_placement.xml
Nope! It's your original templates that you upload via the package
management! What is wrong with those files that I need to
re-templetize them? This should just work, don't you think?
Backward compatibility should not be broken! Rule #1 we learned in programming kindergarten! ;)
So let me guess...You guys broke compatibility with the old templates?! That's obvious because I can confirm this happened at work today and took me an hour of fussing around with it till I gave up! Of course I suspected an upgrade from Rowley as a culprit, but saw nothing you guys posted on the forums about it!!! Could you not just modify the solution file with a one shot update and alleviate your customer's symptoms of shock and disbelief followed by many hours of self loathing and perhaps a minor heart attack? ;) jk Have mercy on us Rowley! We are fragile!
Which package did you install?
None of this stuff makes sense to me anymore! I started with the H103 stuff when the compiler was released to me one year ago...Now its a complete mess! The package installer asks me where I want to put the stuff! I mean, this stuff was supposed to be automatic??? I already have a folder specified and now the package installer is asking me everytime for a new folder! Not sure how this is supposed to work, but I see none of the discovery stuff and I've downloaded all the packages...So I take a second trip to the ST site and download the peripheral libraries and merge them with your templates...Sometimes some of the project stuff works, most of the times it is missing definitions which I have to hunt and find..I don't mind that part of it, I'm used to it by now, but it is not a neat process and I think it's been getting a bit sloppy to be honest...I wish there is a better way or perhaps you can enlighten me on how this is supposed to work correctly!
Now I see the option for an update again! This is quite new...Hmmm...
The STM32F10x CPU support package was for use with CrossWorks V1.
The STM32 CPU support package should be used with CrossWorks V2/V3.
It sounds like you are using the CrossWorks V1 packages with CrossWorks V2/V3.
Thanks, I will check into this...
Please sign in to leave a comment.
Comments
0 comments