AnsweredAssumed Answered

Math lib functions are not thread/interrupt safe with uC/OS-III

Question asked by Geisler on Dec 9, 2015
Latest reply on Mar 18, 2016 by Geisler

Have been struggling with some crash problem in our project and was able to isolate the problem.

 

I seems that some math functions are not thread or interrupt safe while using uC/OS-III. I guess some registers are not saved/reconstructed correctly in the context-switch.

 

The example will crash without the : #define WORKAROUND at the top of the code

 

Any idea what is missing?

Attachments

Outcomes