[Feature] rt_null.c 初始化顺序太低 无法作为默认的日志口
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
Research direction
Start by reading rt_null.c and the initialization ordering around RT_USING_CONSOLE. Confirm how the null device and logging console are registered, then verify that the null device initializes early enough to serve as the default logging port and prevent startup logs from using the uplink port.
Written by the indexing model from the issue text.
Description
Describe problem solved by the proposed feature
实际应用中 日志口与其它上行通信口复用,在需要调试时,特殊命令触发将上行协议通信口切换为常规日志口,但是如果想上电就不打印日志就需要将日志口切到无关的设备上,而 null设备就是一个理想的设备口,但是发现在初始化流程中 初始化日志口顺序比null高, 建议提高null初始顺序到 RT_USING_CONSOLE 之前
Describe your preferred solution
No response
Describe possible alternatives
No response
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 49
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.
More from RT-Thread/rt-thread
-
BSP BSP: Loongson bug RT-Smart
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Arch: RISC-V BSP BSP: HPMicro bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
in progress
-
Arch: RISC-V enhancement Kernel
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
bug Component component: drivers
Difficulty 3/5 1-2 days Newbie friendliness 72/100
All issues in RT-Thread/rt-thread
Similar issues
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100