<div dir="ltr">sorry, my fault -- forgot to rebuild the whole project. <div><br></div><div>Everything works fine with enabled FPU (-mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 May 2019 at 17:06, Ярослав Лещинский <<a href="mailto:midniwalker@gmail.com">midniwalker@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">if change to CPU_CFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp, application not responded at all. </div><div dir="ltr"><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 May 2019 at 16:45, Ярослав Лещинский <<a href="mailto:midniwalker@gmail.com" target="_blank">midniwalker@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">yes, I know, I just checked that behavior is the same as before.<div><br></div><div>With these flags -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard</div><br><div>I got error from linker:</div><div><br></div><div><div>/home/midnight/rtems/toolchain/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: error: o-optimize/test.exe uses VFP register arguments, /</div><div>home/midnight/workspace/rtems/build/arm-rtems5/stm32l4/lib/librtemsbsp.a(bspfatal-default.o) does not</div><div>/home/midnight/rtems/toolchain/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: failed to merge target specific data of file /home/midnig</div><div>ht/workspace/rtems/build/arm-rtems5/stm32l4/lib/librtemsbsp.a(bspfatal-default.o)</div></div><div><br></div><div>Currently I'm trying to figure out what is a problem. </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 May 2019 at 16:33, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15/05/2019 15:31, Ярослав Лещинский wrote:<br>
> problem solved after edition of CPU_FLAGS as mentioned in stm32f4.cfg:<br>
><br>
> CPU_FLAGS = -mthumb -mcpu=cortex-m4<br>
<br>
If you use these flags, then you don't use the floating point instructions.<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_1907106645574175107gmail-m_-2862353858980864848gmail-m_2791630777893277023gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000">--</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000">Kind regards,</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000"><b>Yaroslav Leshchinsky</b></font></div></span></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_1907106645574175107gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000">--</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000">Kind regards,</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000"><b>Yaroslav Leshchinsky</b></font></div></span></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000">--</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000">Kind regards,</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#000000"><b>Yaroslav Leshchinsky</b></font></div></span></div></div></div></div></div>