Skip to main content
guo qiang
Senior
Nov 17, 2017 3:34 AM UTC
Solved

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

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.
    guo qiang
    guo qiangBest answer
    Senior
    Nov 17, 2017 3:39 AM UTC
    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
    Nov 17, 2017 3:39 AM UTC
    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 Technical Moderator
    Nov 17, 2017 8:26 AM UTC
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.