RT-Thread / RT-Thread/rt-thread
[Feature] scons支持更多命令以提供bsp/工程更多背景信息
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
目前scons --target=vsc方式可以支持提供部分bsp/工程信息,例如RTT_ROOT,Groups等,但从工程角度出发,还是缺少部分,希望可以有更多的信息以json文本方式提供出来。也许这些信息是由bsp维护人员提供。
Describe your preferred solution
由bsp维护人来提供bsp/工程信息,以json文本方式。需要包括:
- 可以支持哪些工具链,例如gcc,llvm,iar或其他
- 对应工具链的链接脚本文件是哪个;
也可以对rtconfig.py文件做重构,一些信息可以从这个json文本中直接获得,而不是再通过rtconfig.py文件指定。
或者未来可以让rtconfig.py文件更json文本化。
Describe possible alternatives
在json文件的基础上,未来可以通过带UI <字符界面UI,或图形化UI>的配置工具。
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 reading the SCons --target=vsc handling and the rtconfig.py configuration mentioned in the issue. Determine how BSP maintainers would provide JSON metadata for supported toolchains and linker scripts, and define what the generated project information should contain before implementing or testing the feature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- build-system, embedded-iot, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100