AnsweredAssumed Answered

Does MQX 381 preserve Kinetis FP registers?

Question asked by OldNick on Oct 16, 2012
Latest reply on Oct 18, 2012 by OldNick

Code on a K60FN1M0 behaves very strangely unless I turn off the vfpv4 option in IAR General Options.


walking it thorugh, I came across a strange thing where a float variable was held in S16, and the thread called _time_delay(n).  When it came back, the value in S16 was lost.


My user config has FP config turned on

#define MQXCFG_ENABLE_FP           1


So I presumed FP registers would be preserved.