-
Notifications
You must be signed in to change notification settings - Fork 5.3k
补充了components\utilities\libadt中Kconfig的help内容 #10960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: copilot/update-kconfig-help-descriptions
Are you sure you want to change the base?
Changes from all commits
f508fe9
fd14b79
7a31c70
c6a8d92
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,6 +1,13 @@ | ||||||||||||||||
| menuconfig RT_USING_CPLUSPLUS | ||||||||||||||||
| bool "Enable C++ features" | ||||||||||||||||
| default n | ||||||||||||||||
| help | ||||||||||||||||
| RT_USING_CPLUSPLUS is the master switch for enabling C++ support. | ||||||||||||||||
|
|
||||||||||||||||
| It is off by default. Once enabled, RT-Thread's build system ensures that a C++ compiler is used to compile .cpp files, | ||||||||||||||||
| and it links C++ standard libraries (such as libstdc++ or libc++) into the final firmware. | ||||||||||||||||
| Other C++-related configuration items that depend on it become visible and configurable. | ||||||||||||||||
|
|
||||||||||||||||
|
|
||||||||||||||||
| if RT_USING_CPLUSPLUS | ||||||||||||||||
|
|
||||||||||||||||
|
|
@@ -11,13 +18,21 @@ if RT_USING_CPLUSPLUS | |||||||||||||||
| select RT_USING_POSIX_STDIO | ||||||||||||||||
| select RT_USING_PTHREADS | ||||||||||||||||
| select RT_USING_RTC | ||||||||||||||||
| help | ||||||||||||||||
| RT_USING_CPLUSPLUS11 controls whether support for multithreading features in the C++11 standard is enabled. | ||||||||||||||||
|
|
||||||||||||||||
| It is disabled by default. Once enabled, RT_USING_POSIX_FS, RT_USING_POSIX_STDIO, RT_USING_PTHREADS, and RT_USING_RTC will also be enabled. | ||||||||||||||||
|
|
||||||||||||||||
| config RT_USING_CPP_WRAPPER | ||||||||||||||||
| bool "Enable RT-Thread APIs C++ wrapper" | ||||||||||||||||
| default n | ||||||||||||||||
| help | ||||||||||||||||
| RT_USING_CPP_WRAPPER is used to enable the C++ wrapper for the RT-Thread core API. | ||||||||||||||||
|
|
||||||||||||||||
| When this option is enabled(Off by default), RT-Thread provides an additional set of C++ code that encapsulates the underlying C API using classes and objects. | ||||||||||||||||
| config RT_USING_CPP_EXCEPTIONS | ||||||||||||||||
| bool "Enable C++ exceptions (will increase overhead)" | ||||||||||||||||
| default n | ||||||||||||||||
|
|
||||||||||||||||
| help | ||||||||||||||||
| RT_USING_CPP_EXCEPTIONS is used to enable C++ exception handling. | ||||||||||||||||
|
||||||||||||||||
| RT_USING_CPP_EXCEPTIONS is used to enable C++ exception handling. | |
| RT_USING_CPP_EXCEPTIONS is used to enable C++ exception handling. | |
| It is disabled by default. Enabling this option pulls in the C++ exception runtime support, which typically increases | |
| code size (flash/ROM usage), RAM consumption, and may add extra runtime overhead for stack unwinding and exception | |
| bookkeeping. On resource-constrained or strict real-time systems, this additional overhead should be evaluated carefully | |
| before turning the option on. |
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,55 +1,103 @@ | ||||||||||||||
| menuconfig RT_USING_AT | ||||||||||||||
| bool "Enable AT commands" | ||||||||||||||
| default n | ||||||||||||||
| help | ||||||||||||||
| RT_USING_AT is the master switch for the "AT command framework" in the RT-Thread system. | ||||||||||||||
| The AT command component provides a standardized framework for AT command parsing, registration, and response, adapting to various peripherals that support AT commands. | ||||||||||||||
|
|
||||||||||||||
| It is disabled by default. | ||||||||||||||
|
|
||||||||||||||
| if RT_USING_AT | ||||||||||||||
|
|
||||||||||||||
| config AT_DEBUG | ||||||||||||||
| bool "Enable debug log output" | ||||||||||||||
| default n | ||||||||||||||
| help | ||||||||||||||
| AT_DEBUG is a switch that enables debug logging output for the AT command framework. | ||||||||||||||
| When enabled, it prints logs of AT commands, including "sent/received content," "parsing process," "response result," and "error reason." | ||||||||||||||
|
|
||||||||||||||
| It is disabled by default. | ||||||||||||||
|
|
||||||||||||||
| config AT_USING_SERVER | ||||||||||||||
| bool "Enable AT commands server" | ||||||||||||||
| default n | ||||||||||||||
| help | ||||||||||||||
| AT_USING_SERVERAT is the AT server function switch. | ||||||||||||||
|
||||||||||||||
| AT_USING_SERVERAT is the AT server function switch. | |
| AT_USING_SERVER is the AT server function switch. |
Copilot
AI
Jan 15, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The help text for AT_USING_SOCKET (line 88-89) is empty. This configuration option should have a description explaining what it does.
English: The help section for AT_USING_SOCKET is empty. Add a description explaining that it enables BSD Socket API support through AT commands.
中文:AT_USING_SOCKET 的帮助部分为空。应添加描述,说明它通过 AT 命令启用 BSD Socket API 支持。
| help | |
| help | |
| AT_USING_SOCKET enables BSD Socket API support through the AT command framework. | |
| When enabled, standard BSD socket APIs are translated into AT commands and sent to the underlying AT device to perform network operations. | |
| It is disabled by default; enabling it will also enable RT_USING_SAL and SAL_USING_AT. |
Copilot
AI
Jan 15, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The help text is placed under the wrong configuration option. This text describes AT_USING_SOCKET but is placed under AT_USING_SOCKET_SERVER (line 94). The description should be moved to the AT_USING_SOCKET option (lines 83-89).
English: The help text at lines 97-100 describes AT_USING_SOCKET functionality but is incorrectly placed under AT_USING_SOCKET_SERVER. Move this text to the correct location under AT_USING_SOCKET (line 88).
中文:第 97-100 行的帮助文本描述了 AT_USING_SOCKET 功能,但错误地放在了 AT_USING_SOCKET_SERVER 下。应将此文本移动到 AT_USING_SOCKET(第 88 行)下的正确位置。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing space after "enabled" and before the opening parenthesis. Change "enabled(Off" to "enabled (Off".
English: Add a space between "enabled" and "(Off by default)".
中文:在 "enabled" 和 "(Off by default)" 之间添加空格。