Posted on May 16, 2012 at 06:43Dear all, I'm using `Keil uVision` with gcc toolchain (Sourcery Codebench lite for ARM EABI) to program the `STM32F4 cortex M4` chip. The compiler control strings I have set are: -march=armv7e-m -mfpu=fpv4-sp-d16 ...
Posted on May 17, 2012 at 07:46Sorry for the confusion, the disassembly code with hard_fp is just an example using Keil's own toolchain. It is not related to the issue in the first post.
Posted on May 16, 2012 at 15:59I tried the realview toolchain with FPU, and the trigonometry functions work perfect, with the disassembly code: 65: c = sin(a); 0x08002A76 F04F507C MOV r0,#0x3F0000000x08002A7A F000FDCB BL.W ...
Posted on May 16, 2012 at 09:09Hi fm, uVision has an option to select RealView or GCC as the development tool. (http://www.keil.com/appnotes/docs/apnt_199.asp)It is very handy indeed, but I have problem to use the FPU.I'm a beginner, so my question ...