AnsweredAssumed Answered

floating point support missing in KDS?

Question asked by Marc Lindahl on Sep 9, 2014
Latest reply on Sep 10, 2014 by Erich Styger

I'm porting a project from CW that uses the floating point ability of the K20F120 and it's crashing at the first float move instruction.  So I checked startup.c and I don't see any initialization of the VFP anywhere.

 

In CW you have:

 

#ifdef __VFPV4__

 

  __fp_init();

 

#endif

 

Which I tried but it's not in the KDS libraries...

 

Am I missing something or is something missing?

Outcomes