forked from espressif/esp-idf
Merge branch 'bugfix/freertos_appcpu_int_disable_v4.4' into 'release/v4.4'
freertos: ensure interrupts are disabled before enabling tick timer (v4.4) See merge request espressif/esp-idf!16606
This commit is contained in:
@@ -92,6 +92,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
|
||||||
|
Reference in New Issue
Block a user