[En-Nut-Discussion] NutOs5.1 on STM32 controllers

Holger Mai, GEMAC hmai at gemac-chemnitz.de
Fri Sep 20 11:26:53 CEST 2013


Hi Uwe

i heard something aubout this from a colleague, who has used FPs in printf. The Problem 
can be some linker flags. Maybe the following code snippet can help (it is for AVR, but look at 
it)

*************************************
Print-F Library for AVR float display
*************************************

Library :

- "libm.a"
- "libprintf_flt.a"

Search Path :

- "D:\Programme\Atmel\AVR Studio 5.0\AVR Toolchain\avr\lib"

Linker Options (Miscellaneous) :

- "-Wl,-u,vfprintf"

*************************************




>>>>> "Holger" == Holger Mai, GEMAC <hmai at gemac-chemnitz.de> writes:

The problem is not with float operation, but with 64-bit va_arg arguments...

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

--

Mit freundlichen Grüßen

Holger Mai

GEMAC - Gesellschaft für Mikroelektronik-
anwendung Chemnitz mbH

Zwickauer Straße 227
D-09116 Chemnitz
Tel. +49 371 3377 0
Fax  +49 371 3377 272

UST-ID: DE140851265
HRB 6443 Chemnitz/Stadt
Geschäftsführer: Dr. Claus Dittrich, Dirk Hübner
http://www.gemac-chemnitz.de



More information about the En-Nut-Discussion mailing list