summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common
diff options
context:
space:
mode:
authorHuang Ziyang <[email protected]>2026-09-10 16:24:42 +0800
committerGitHub <[email protected]>2026-09-10 16:24:42 +0800
commit19e0c42b249e98ebcf870032a4ae073270ef16ee (patch)
treec4cb43d7b3c60b8b0022a3b0b7637160eecc4187 /components/libc/compilers/common
parent13f0448c2df1c8243e1ab4e666d7e1f83c5bd671 (diff)
补充 components\utilities\libadt中Kconfig的help内容#10960copilot/update-kconfig-help-descriptions
Diffstat (limited to 'components/libc/compilers/common')
-rw-r--r--components/libc/compilers/common/Kconfig32
1 files changed, 31 insertions, 1 deletions
diff --git a/components/libc/compilers/common/Kconfig b/components/libc/compilers/common/Kconfig
index dad2e2e2ff..bc7bc9f323 100644
--- a/components/libc/compilers/common/Kconfig
+++ b/components/libc/compilers/common/Kconfig
@@ -5,27 +5,57 @@ menu "Timezone and Daylight Saving Time"
bool "Enable fully version timezone and daylight saving time with database"
select PKG_USING_TZ_DATABASE # select timezone database software package
default n
+ help
+ RT_LIBC_USING_FULL_TZ_DST controls whether "full timezone and daylight saving time functionality with database" is enabled.
+
+ Essentially, it allows RT-Thread to support precise time conversion based on a global timezone database.
+
+ Features:
+ Global timezone adaptation
+ Automatic daylight saving time (DST) handling
+ Standard time interface compatibility
+
+ Dependencies:
+ Once enabled (disabled by default), it automatically enables the tz_database package in the RT-Thread software package.
+
+ After enabling RT_LIBC_USING_FULL_TZ_DST, the project will automatically import the tz_database code and data files.
+
config RT_LIBC_USING_LIGHT_TZ_DST
bool "Enable lightweight timezone and daylight saving time"
depends on !RT_LIBC_USING_FULL_TZ_DST
default y
+ help
+ RT_LIBC_USING_LIGHT_TZ_DST is a lightweight timezone and daylight saving time configuration option within the C standard library (libc) component of RT-Thread.
+ It is a lightweight alternative to RT_LIBC_USING_FULL_TZ_DST (the full timezone solution).
+
+ It achieves local timezone conversion using a fixed time offset, rather than relying on a large timezone database.
+
+ This option is enabled by default, but only one of RT_LIBC_USING_FULL_TZ_DST can be enabled at a time.
+ When enabled, three sub-configuration options will be displayed.
+
if RT_LIBC_USING_LIGHT_TZ_DST
config RT_LIBC_TZ_DEFAULT_HOUR
int "Set the default local timezone (hour)"
range -12 12
default 8
+ help
+ The hour offset of the local time zone relative to UTC (range -12~12, default 8, corresponding to UTC+8 Beijing time).
config RT_LIBC_TZ_DEFAULT_MIN
int "Set the default local timezone (minute)"
range -59 59
default 0
-
+ help
+ Minute offset (range -59~59, default 0)
config RT_LIBC_TZ_DEFAULT_SEC
int "Set the default local timezone (second)"
range -59 59
default 0
+ help
+ Second offset (range -59~59, default 0)
+
endif
endmenu