if change to CPU_CFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp, application not responded at all.
On Wed, 15 May 2019 at 16:45, Ярослав Лещинский <midniwal...@gmail.com> wrote: > yes, I know, I just checked that behavior is the same as before. > > With these flags -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard > > I got error from linker: > > /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, / > home/midnight/workspace/rtems/build/arm-rtems5/stm32l4/lib/librtemsbsp.a(bspfatal-default.o) > does not > /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 > > ht/workspace/rtems/build/arm-rtems5/stm32l4/lib/librtemsbsp.a(bspfatal-default.o) > > Currently I'm trying to figure out what is a problem. > > On Wed, 15 May 2019 at 16:33, Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> On 15/05/2019 15:31, Ярослав Лещинский wrote: >> > problem solved after edition of CPU_FLAGS as mentioned in stm32f4.cfg: >> > >> > CPU_FLAGS = -mthumb -mcpu=cortex-m4 >> >> If you use these flags, then you don't use the floating point >> instructions. >> >> -- >> Sebastian Huber, embedded brains GmbH >> >> Address : Dornierstr. 4, D-82178 Puchheim, Germany >> Phone : +49 89 189 47 41-16 >> Fax : +49 89 189 47 41-09 >> E-Mail : sebastian.hu...@embedded-brains.de >> PGP : Public key available on request. >> >> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. >> >> > > -- > -- > Kind regards, > *Yaroslav Leshchinsky* > -- -- Kind regards, *Yaroslav Leshchinsky*
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel