T-Watch S3 - watch alarm screen and associated diagnostic build removed due to power drain issue

This commit is contained in:
pelgraine
2026-07-18 18:47:27 +10:00
parent b90edc5995
commit 45aebd5bfe
5 changed files with 4 additions and 111 deletions
+1 -38
View File
@@ -137,41 +137,4 @@ lib_deps =
densaugeo/base64 @ ~1.4.0
lib_ignore =
AsyncTCP
ESPAsyncWebServer
; ---------------------------------------------------------------------------
; TEMP DIAGNOSTIC BUILD -- power-drain bisect (remove when concluded).
; The S3 standalone firmware with the per-loop WatchAlarmScreen tick() disabled,
; gated by MECK_DIAG_NO_ALARM: the alarm-check block in UITask::loop is compiled
; out, so localNow() (an RTC read) and the slot scan no longer run every loop.
; The alarm screen is still created and menu-reachable, but no alarm can fire on
; this build by design. Run the same wear test as the standalone S3 build; a
; materially slower drain implicates the alarm tick() in the S3-only excess.
; Revert: delete this env and grep MECK_DIAG_NO_ALARM (one block in UITask.cpp).
; Flash: pio run -e meck_twatch_s3_diag_noalarm -t upload
; ---------------------------------------------------------------------------
[env:meck_twatch_s3_diag_noalarm]
extends = LilyGo_TWatchS3
build_flags =
${LilyGo_TWatchS3.build_flags}
-I examples/companion_radio/ui-new
-D MAX_CONTACTS=2000
-D MAX_GROUP_CHANNELS=40
-D OFFLINE_QUEUE_SIZE=1
-D ESP32_CPU_FREQ=80
-D MECK_DIAG_NO_ALARM
-D FIRMWARE_VERSION='"Meck TWatch S3 DiagNoAlarm v0.3"'
build_src_filter = ${LilyGo_TWatchS3.build_src_filter}
+<helpers/esp32/*.cpp>
-<helpers/esp32/SerialBLEInterface.cpp>
+<helpers/ui/MomentaryButton.cpp>
+<../examples/companion_radio/*.cpp>
+<../examples/companion_radio/ui-new/*.cpp>
+<helpers/ui/LGFXDisplay.cpp>
lib_deps =
${LilyGo_TWatchS3.lib_deps}
densaugeo/base64 @ ~1.4.0
lib_ignore =
AsyncTCP
ESPAsyncWebServer
ESP32 BLE Arduino
ESPAsyncWebServer