RT-Thread / RT-Thread/rt-thread
[bsp] board.h中不要include一些没有必要的头文件
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
board.h中只引用本头文件所需的头文件,不要将乱七八糟的所有.h文件都包含到board.h中,否则很容易引发嵌套编译以及其他问题
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
The issue refers broadly to board.h files in the RT-Thread BSPs but names no specific path, board, or test. Start by locating the relevant board.h files and reviewing their include lists; done means unnecessary headers are removed without introducing compilation or nesting problems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100