Merge branch 'bugfix/freertos_appcpu_int_disable' into 'master'

freertos: ensure interrupts are disabled before enabling tick timer

See merge request espressif/esp-idf!16460
This commit is contained in:
Ivan Grokhotkov
2021-12-24 11:45:07 +00:00

View File

@@ -94,6 +94,7 @@ extern void _xt_coproc_init(void);
BaseType_t xPortStartScheduler( void ) BaseType_t xPortStartScheduler( void )
{ {
portDISABLE_INTERRUPTS();
// Interrupts are disabled at this point and stack contains PS with enabled interrupts when task context is restored // Interrupts are disabled at this point and stack contains PS with enabled interrupts when task context is restored
#if XCHAL_CP_NUM > 0 #if XCHAL_CP_NUM > 0