Username:     
Password:     
            Register  

Forum

# 1   2010-02-08 23:30:30 sprintf usage...

logictechs
Member
Registered: 2009-05-07
Posts: 66

sprintf usage...

Hi,

Can someone please provide a step by step useage of the sprintf function.  I've searched this forum and tried what has been said already but still no go.  Everything compiles correctly and even works during debug running of the app.  Problem is when I try to load the release version that I get all the error messages as indicated here at the last post:  http://www.stm32circle.com/forum/viewtopic.php?id=742

I have the latest versions of everything including 3.8OS.

Offline

 

# 2   2010-02-09 16:05:32 sprintf usage...

VincentC
Administrator
Registered: 2007-11-08
Posts: 121

Re: sprintf usage...

Hi,

Please tell us the versions of the Ride7 and ARM kits that you are using. ("the latest" might be tricky)


From what you describe I guess that your application is using the small printf option...?

This option tells the linker to link one of the small_printf libraries, as explained in the Ride documentation.

But there is no such option in the link performed by Circle_mgr, because it would have some undesirable side-effects. So in your situation the linker takes the sprintf from gcc, which does not work so easily.

The solution is to take the sources of the small_printf library that you are using (with or without floats support) and include the sources of the functions that you call (sprintf) directly in the sources of your application.

Please refer to the GettingStartedARM document for the description of these libraries and where to find their sources.


Best Regards,

Vincent

Offline

 

# 3   2010-02-13 21:33:36 sprintf usage...

logictechs
Member
Registered: 2009-05-07
Posts: 66

Re: sprintf usage...

Hi Vincent,

Thanks for the reply but it does not help.  As I stated, I have the latest versions of everything downloaded from here and the Raisonance site.


Can you please post an example application for me to work with?  I'm uncertain how to include the sprintf source code in my app as you suggested.  I've compiled the sprintf project with Ride and then included the object file in my app but that did not allow my final release app to be loaded.

Offline

 

Replica Handbags,Designer Handbags.lowest price $79.Louis Vuitton,High quality louis vuitton replica handbags and other brands designer handbags are all here! Each replica Handbag and each designer Handbag can low to $79! Replica handbagsreplica watches,Wholesale China,Replica handbags Replica HandbagsReplica Handbags, Cheap Quality Designer Replica Handbags replica hermes For Less Cheap Replica Designer Handbags For Sale! Thousands of quality replica handbags available! Save up to 60% ,Worldwide Shipping! 100% Satisfaction Guaranteed!
replica handbags Wholesale China Replica Purses Louis Vuitton Handbags Burberry handbags louis vuitton replica handbags Replica LOUIS VUITTON Gucci Handbags Prada Handbags Burberry Handbag Hermes Handbags Hermes Belts Gucci Belts Louis Vuitton Belts Louis Vuitton Wallets Hermes Wallets Gucci Wallets Burberry ScarfLouis Vuitton ScarfHermes Scarf Louis Vuitton Bracelets Louis Vuitton handbags Gucci handbags Prada handbags Prada Wallets Louis Vuitton Wallets Gucci Wallets Prada Wallets Wholesale Jewelry Replica handbags replica watches Louis Vuitton Bikini Burberry BikiniMiu Miu Handbags Hermes Bracelets