Hi,
I'm using codesourcery compiler and stm32f103 uC.
The problem is when i try to cast between int and float. I.e.:
In this case in the runtime uC gets stopped and in gdb i see that it's in the HardFault Handler.
I compile codes with -mfloat-abi=soft option and using float operation and function from math.h is ok.
Does anyone have this problem?