vTaskSwitchContext not working on PIC32

kg4ysn wrote on Wednesday, September 17, 2008:

Hi Richard,

Thanks for the posting.  There definitely wasn’t any overflowing of stacks; I used an LED-style example to do debugging to determine if this was the case.

After comparing against the demo code, I found that I had missed a tiny #pragma config declaration.  Once I corrected that, the timers seemed to fire off correctly, and context switching worked as expected.  So chalk this one up to user error.  :slight_smile:

Thanks for taking the time to look into it!

Chris