Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter p_stk_limit in function OSTaskStkInit() #36

Closed
xu-yingjing opened this issue Dec 28, 2022 · 2 comments
Closed

Parameter p_stk_limit in function OSTaskStkInit() #36

xu-yingjing opened this issue Dec 28, 2022 · 2 comments

Comments

@xu-yingjing
Copy link

I notice a parameter named p_stk_limit in function OSTaskStkInit(), but itseems useless. What is it used for? Redundant?

@forg0ne
Copy link
Member

forg0ne commented Jan 3, 2023

This parameter receives the value of the stk_limit argument when calling OSTaskCreate().
It is available for the port designer to use if the hardware has hardware stack protection.
Otherwise, it is not typically used.

@forg0ne forg0ne closed this as completed Jan 3, 2023
@xu-yingjing
Copy link
Author

Thank you for your reply!😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants