Skip to main content
guo qiang
Senior
November 17, 2017
Solved

FreeRTOS port on the SPC, I think there is a problem

  • November 17, 2017
  • 2 replies
  • 1112 views
Posted on November 17, 2017 at 04:34


_legacyfs_online_stmicro_images_0690X0000060MyyQAE.png        

If the kernel need to switch task in the SystemTick(PIT0)ISR,  this should be to trigger a SystemCall.

STM32 PORT:


_legacyfs_online_stmicro_images_0690X0000060MzDQAU.png

the vTaskSwitchContext function only made some judgments, to modify pxCurrentTCB, and did not do the task switch.

Yvin.Erwan.001

‌

null
    This topic has been closed for replies.
    Best answer by guo qiang
    Posted on November 17, 2017 at 04:39

    I modified the code:

    0690X0000060PEqQAM.png

    But I found that there is no task will not switch

    2 replies

    guo qiang
    guo qiangAuthorBest answer
    Senior
    November 17, 2017
    Posted on November 17, 2017 at 04:39

    I modified the code:

    0690X0000060PEqQAM.png

    But I found that there is no task will not switch

    Erwan YVIN
    ST Employee
    November 17, 2017
    Posted on November 17, 2017 at 09:26

    Hello Guo ,

    I am submitting an ER on FreeRTOS components part.

    Thank you for sharing your findings ;)

       Best Regards

                 Erwan