diff options
| author | Chen Wang <[email protected]> | 2024-11-26 16:09:06 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-11-26 21:44:19 -0500 |
| commit | c4ba5ee068c7e84ff32770678ae37aa2455bb8cb (patch) | |
| tree | 8718264cad723fda8eba14e69c80b2bfff1eaaa9 /documentation/basic/basic.md | |
| parent | ca1d4e6dea991b22f1ca66bfdb221a41671e4cb9 (diff) | |
kernel: Optimize display format for auto init when debugging
When RT_DEBUGING_AUTO_INIT is enabled, kenrel will add more
print message for auto init. However, the original format
easily causes the kernel printing and the init function printing
to be connected together, resulting in a confusing display
format.
For exmaple:
```
initialize lwip_system_initlwIP-2.0.3 initialized!
:0 done
```
Or
```
initialize sal_init[I/sal.skt] Socket Abstraction Layer initialize success.
:0 done
```
Solution: Add a carriage return to separate the kernel
printing and the init function printing.
After changing, the output will be:
```
initialize lwip_system_init
lwIP-2.0.3 initialized!
:0 done
```
Or
```
initialize sal_init
[I/sal.skt] Socket Abstraction Layer initialize success.
:0 done
```
Signed-off-by: Chen Wang <[email protected]>
Diffstat (limited to 'documentation/basic/basic.md')
0 files changed, 0 insertions, 0 deletions
