title: FreeRTOS tasks are not context switching
body: <p>I'm using FreeRTOS port for PIC32 microcontroller on the PIC32MX starter kit. Was just playing with tasks but the tasks aren't context switching. Here are my main config settings:</p>
  
  <pre><code>#define configMAX_PRIORITIES    ( ( unsigned portBASE_TYPE ) 5 )
  #define configKERNEL_INTERRUPT_PRIORITY         0x01
  #define configMAX_SYSCALL_INTERRUPT_PRIORITY    0x03
  #define configTICK_RATE_HZ              ( ( portTickType ) 100 )
  </code></pre>
  
  <p>Now I have two tasks defined which blink two LEDs. Both have priority of 4(highest). Under normal operation the LEDs should alternatively blink for each 100 ticks. But this doesn't happen. The second LED blinks for 100 ticks and the control goes to the general exception handler. Why does this happen? Seems like there is no scheduling at all.</p>