AnsweredAssumed Answered

Enabling interrupts before FreeRTOS scheduler starts on K64f

Question asked by unknowncoder on Feb 11, 2018
Latest reply on Feb 12, 2018 by unknowncoder


I have been looking through some of the demo code for K64f when using FreeRTOS. I notice one of the example code enables global interrupts before the RTOS scheduler starts. Using this "EnableGlobalIRQ(0)" function.


I don't understand why interrupts need to be enable before the scheduler starts. If anything this can lead to alot of problems. 


To my understanding FreeRTOS will enable interrupts when the scheduler starts. 


Can anyone give some insight into this?