feat(lcd): display synchronized wall clock

This commit is contained in:
chenjintao
2026-08-24 10:57:23 +08:00
parent fdbc956424
commit 96e975d84c
4 changed files with 187 additions and 17 deletions
+14 -8
View File
@@ -43,6 +43,20 @@ menu "Example Configuration"
firmware uses a longer timeout to tolerate brief beacon loss on
crowded 2.4 GHz networks.
config TQ_TIME_SNTP_SERVER
string "Wall-clock SNTP server"
default "ntp.aliyun.com"
help
SNTP server used to establish wall-clock time after Wi-Fi
obtains an IP address.
config TQ_TIME_POSIX_TZ
string "Wall-clock POSIX time zone"
default "CST-8"
help
POSIX TZ string used for local wall-clock display and daily
scheduling. For China Standard Time use "CST-8".
menu "OTA Firmware Update"
config TQ_OTA_ENABLE
@@ -1115,14 +1129,6 @@ menu "Example Configuration"
help
IANA time-zone name sent to the fortune API.
config FORTUNE_SNTP_SERVER
string "SNTP server"
depends on FORTUNE_ENABLE
default "ntp.aliyun.com"
help
SNTP server used to establish wall-clock time before daily
scheduling starts.
config FORTUNE_CONNECT_TIMEOUT_MS
int "Fortune HTTP timeout (ms)"
depends on FORTUNE_ENABLE