RT-Thread / RT-Thread/rt-thread
[Feature] 电源管理PM,建议添加 配置选型,可以去掉 module 功能
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
Describe problem solved by the proposed feature
理由如下
1、现在pm 的 module 功能,比较占用空间,和cpu资源。低功耗空闲钩子里面代码台繁琐。CPU占用高
2、module 模块主要是为了跟踪 module_id 对电源的占用,但是实际产品完全可以去掉。
Describe your preferred solution
我自己的项目实现了一个宏开关。
这里询问下是否有相关意向,可以的话我提交PR,你们审核下
Describe possible alternatives
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating RT-Thread's power-management module, its low-power idle hooks, and the code that tracks module_id power usage. Compare those paths with the author's proposed macro switch and determine where a configuration option would exclude the module functionality. Done means the option is defined, the module can be removed for products that do not need it, and the resulting build avoids the reported resource costs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100