<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Howdy, </div><div class=""><br class=""></div><div class="">This is a long shot :) </div><div class=""><br class=""></div><div class="">I'm using Eclipse with "System Workbench for STM32" for an STM32F334. I'm flying by the seat of my pants, but so far it's worked out quite well. Super impressed by these ST parts, as expected. </div><div class=""><br class=""></div><div class="">But, I'm running into an issue when trying to use the FPU. If I configure Eclipse to use the "soft" or "softfp" ABI, I have no problems. "soft" of course isn't what I want. "softfp" is much faster, but after reading about the difference between the "softfp" and "hard" ABI, I understand that I'm still taking a big performance hit (or maybe I'm not? correct me if I'm wrong!) . I want to get the most out of this MCUs FPU! </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">this is what the related flags look like when I try to use the "hard" ABI (if I'm misunderstanding or missing other relevant flags, please feel free to say so!) </div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16</div></div><div style="margin: 0px; font-size: 11px; font-family: Monaco;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">then I get this error: </div><div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">(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</div><div style="margin: 0px; font-size: 11px; font-family: Monaco;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">and again for quite a few other object files. I suppose that these object files, that are part of the std peripheral library, are trying to use "softfp" instructions, while my code is trying to use "hard". I understand that they are not compatible. Is there something obvious I can try here? Anyone have any idea? I know there are a ton of variables in a set up like this, but any pointers would be really appreciated. </div><div style="margin: 0px; font-size: 11px; font-family: Monaco;" class=""><br class=""></div>and please forgive / correct my ignorance regarding the terminology here. Hopefully someone understands what I'm trying to say :) <div class=""><div class=""><br class=""></div><div class="">Cheers, </div><div class="">Chris </div><div class="">
<br class=""><div class=""><br class=""></div></div></div></body></html>