cancel
Showing results for 
Search instead for 
Did you mean: 

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

guo qiang
Senior
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 discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
guo qiang
Senior
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

View solution in original post

2 REPLIES 2
guo qiang
Senior
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
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