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

感觉移植到freertos,不用改freertos的源码。 #75

Open
fyyxxm opened this issue Oct 20, 2023 · 2 comments
Open

感觉移植到freertos,不用改freertos的源码。 #75

fyyxxm opened this issue Oct 20, 2023 · 2 comments

Comments

@fyyxxm
Copy link

fyyxxm commented Oct 20, 2023

10.5.1

用这个接口xTaskGetCurrentTaskHandle(),
可以获取当前任务的handle,根据handle就是(TCB_t)可以获得想要的信息。

@armink
Copy link
Owner

armink commented Oct 23, 2023

欢迎提交 PR 进行完善哈

@Mexico-zyy-lost
Copy link

10.5.1

用这个接口xTaskGetCurrentTaskHandle(), 可以获取当前任务的handle,根据handle就是(TCB_t)可以获得想要的信息。

是不需要添加UBaseType_t uxSizeOfStack;这一行吗?xTaskGetCurrentTaskHandle怎么获取堆栈大小?

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

3 participants