Best way to stop the RTOS

travfrog wrote on Monday, November 12, 2012:

If the system I am working on detects a failure condition, it is required to lock up and flash a single LED.  This is done in a simple loop using cycle counts for the LED flashing - no RTOS timers.

Is simply disabling all interrupts ensure the RTOS stops running? There is no intention to restart the RTOS once this has happened so state information is not important.

richard_damon wrote on Monday, November 12, 2012:

Disabling all interrupts, and then not calling any FreeRTOS functions will prevent any further FreeRTOS activity.

travfrog wrote on Monday, November 12, 2012:

Excellent, thanks.