2013-05-22 09:17 AM
Hi ,
Does anyone know about a free GCC toolchain that supports hardware floating point compile (FPU)? Because i am using Cortex M4F , and codesourcery lite does not support this feature. Thanks Michael #c-runtime2013-05-22 09:29 AM
The ARM consortium maintains these pre-built binaries and source tree:
https://launchpad.net/gcc-arm-embedded I'm using it and, yes, it does compile for hardware floating point (Coretex-M4F). Cheers, -Gary2013-05-22 10:32 AM
2013-05-22 11:07 AM
Yagarto 4.7.2 seems to generate viable FPU code sequences. You get what you pay for wrt other library support.
2013-05-22 11:48 AM
2013-05-22 12:19 PM
if you know how to solve this issue,it would be great ! :)
I've built STM32F4 code using startup_stm32f4xx.s, the RIDE one seems the most practical starting point. There is other library stuff in STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Templates\TrueSTUDIO\syscalls.c
2013-05-23 06:46 AM
With CMSIS the crt0 file is replaced by the vendor specific startup file. In any case the startup is whatever you put in the reset vector table entry. I prefer the CMSIS method since it's common with Cortex M parts, but I do heavily customize the C runtime startup to handle things like non-volatile SRAM.
Jack Peacock2013-05-23 10:37 AM
I started using https://launchpad.net/gcc-arm-embedded , it works great also as told it supports FPU :)