Skip to main content
manoritesameer
Associate III
June 12, 2014
Question

FPU in IAR IDE

  • June 12, 2014
  • 2 replies
  • 1066 views
Posted on June 12, 2014 at 18:22

Hello, 

       I am using the STm32F4 discovery demo board and using the IAR IDE tool chain, Can anyone tell me how to use(enable) the Floating Point unit.

Thanks for ur help.

Regards

Sameer  
    This topic has been closed for replies.

    2 replies

    francescatodiego
    Associate III
    June 12, 2014
    Posted on June 12, 2014 at 21:38

    1. Project->options

    2. general options in the left menu

    3.''Target'' tab contain FPU dropdown seleciton list

    Tesla DeLorean
    Guru
    June 12, 2014
    Posted on June 12, 2014 at 22:24

    Remember the FPU only does 32-bit float math, it does not support 64-bit double, or complex functions. Be sure to use the float version of math functions, like sqrtf(), sinf(), cosf(), etc. and constants like 123.4f

     
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..