feat(freertos): Link SoftIsrHdl and its sub functions to IRAM

This commit is contained in:
dongheng
2019-03-06 10:24:03 +08:00
parent 49a48fd5a3
commit d67265f034
5 changed files with 14 additions and 14 deletions

View File

@ -118,7 +118,7 @@ void IRAM_ATTR HDL_MAC_SIG_IN_LV1_ISR(void)
extern portBASE_TYPE MacIsrSigPostDefHdl(void);
void SoftIsrHdl(void* arg)
void IRAM_ATTR SoftIsrHdl(void* arg)
{
ETS_NMI_LOCK();
@ -130,7 +130,7 @@ void SoftIsrHdl(void* arg)
}
if (xHigherPriorityTaskWoken || (SWReq == 1)) {
_xt_timer_int1();
_xt_timer_int1(); // call vTaskSwitchContext
SWReq = 0;
}