AnsweredAssumed Answered

Arithmetic on STM32F4xx

Question asked by mahmutov.ramil on Jan 16, 2013
Latest reply on Jan 17, 2013 by mahmutov.ramil
Hi All! I have some issue, when I make an arithmetic operations using my STM32F4 Discovery.

simple example:
float a = 3.2, b = 2.5, c = 0;
c= a +b;

When I run this code, I get Hard Fault Exception.
What possible reasons? How i can operate with float type. I'm using Keil on Windows 7.
Thanks.

Outcomes