1
\$\begingroup\$

When I am trying to create a float variable in Keil to program STM32 it just crashes.

I had a look online and as far as I read it tries to use hardware floating point unit (which is not enabled and I don't want to use it).

If I want to use software based floatin point then I have to specify that in my compiler.

How do I do that?

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

In the Keil Compiler Options (ALT+F7 - Target tab) you can select Floating Point Hardware - Not used. That should solve the problem.

\$\endgroup\$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.