[sdiy] ARM M4 (stm32F3xx) FPU questions

Hugh Blemings hugh at blemings.org
Fri Oct 7 04:35:22 CEST 2016


Hi Chris,

I'll take an even longer shot mostly working from first principles (I've 
used gcc a lot over the years, but not on this platform)

On 7/10/2016 12:33, Chris McDowell wrote:
>
 > [...]
 >
> then I get this error:
> (my file name).elf uses VFP register arguments, (my path to std periph
> library)/stm32f334k8t6_stdperiph_lib/Debug/libstm32f334k8t6_stdperiph_lib.a(stm32f30x_dac.o)
> does not

I'm inferring;

* that it won't link object files that combine soft and hard floating point

* you may need to select different pre-compiled libraries that have been 
complied for hard floating point if they're supplied -or-

* rebuild the libraries compiled for hard FP.

A quick google search on the latter bit of the error message also looked 
like it might have some pointers. (e.g. " uses VFP register arguments, 
(my path to std periph 
library)/stm32f334k8t6_stdperiph_lib/Debug/libstm32f334k8t6_stdperiph_lib.a(stm32f30x_dac.o) 
does not"

Hope this helps some, if not give it a few hours and Europe will start 
to wake up and finer minds than mine no doubt with it :)

Cheers,
Hugh






More information about the Synth-diy mailing list