cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable FPU in the SPC5Studio?

VJ.4
Associate

I'm working with SPC56EC64L8, i want to enable FPU. But I don't know how to enable it. I already seen this post https://community.st.com/s/feed/0D50X00009XkW9uSAF?t=1657363249348 . but link in this post mentioned is https://app-community.st.com/thread/43975-fpu-exceptions-on-spc56el60l3 not working

1 ACCEPTED SOLUTION

Accepted Solutions
ODOUV.1
ST Employee

Hello,

you should go in Platform componenet=>Build settings

and put in C options, -mhard-float

0693W00000SvFVKQA3.pngBest regards.

View solution in original post

2 REPLIES 2
ODOUV.1
ST Employee

Hello,

you should go in Platform componenet=>Build settings

and put in C options, -mhard-float

0693W00000SvFVKQA3.pngBest regards.

ODOUV.1
ST Employee

also add

-mspe=yes -mhard-float