From bf7aff7f9ae05201b2ad658ae67a82ecb05cc1dd Mon Sep 17 00:00:00 2001 From: pelgraine <140762863+pelgraine@users.noreply.github.com> Date: Mon, 21 Sep 2026 06:08:04 +1000 Subject: [PATCH] Add meck_audio_ble_fastlut test env (register waveform, 9 frames) --- variants/lilygo_tdeck_pro/platformio.ini | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/variants/lilygo_tdeck_pro/platformio.ini b/variants/lilygo_tdeck_pro/platformio.ini index 3aa6b934..7486012f 100644 --- a/variants/lilygo_tdeck_pro/platformio.ini +++ b/variants/lilygo_tdeck_pro/platformio.ini @@ -138,6 +138,50 @@ lib_ignore = AsyncTCP ESPAsyncWebServer +; --------------------------------------------------------------------------- +; EXPERIMENT: fast e-ink partial refresh on a register waveform. Identical to +; meck_audio_ble except the panel driver is the vendored copy in +; src/helpers/ui/GxEPD2_310_GDEQ031T10_FAST, which runs every partial refresh +; on the register LUT that bitbank2/bb_epaper uses for this panel instead of +; the factory OTP waveform (one FAST_LUT_FRAMES-frame push per pixel). The +; driver's default is 12 frames; this env sets 9, the shortest push tested, +; which measured 244 ms per partial on a T-Deck Max against 652 ms on the +; factory waveform. Full refreshes are unchanged. Watch the _Update_Part +; serial lines and judge the picture. Keep meck_audio_ble handy: if the panel +; misbehaves, power-cycle and flash that. +; --------------------------------------------------------------------------- +[env:meck_audio_ble_fastlut] +extends = LilyGo_TDeck_Pro +build_flags = + ${LilyGo_TDeck_Pro.build_flags} + -I examples/companion_radio/ui-new + -D MAX_CONTACTS=2000 + -D MAX_GROUP_CHANNELS=40 + -D BLE_PIN_CODE=123456 + -D OFFLINE_QUEUE_SIZE=256 + -D MECK_AUDIO_VARIANT + -D MECK_WEB_READER=1 + -D MECK_OTA_UPDATE=1 + -D EINK_FASTLUT_EXPERIMENT=1 + -D FAST_LUT_FRAMES=9 + -D FIRMWARE_VERSION='"Meck v1.14.FASTLUT"' +build_src_filter = ${LilyGo_TDeck_Pro.build_src_filter} + + + + + +<../examples/companion_radio/*.cpp> + +<../examples/companion_radio/ui-new/*.cpp> + + + + +lib_deps = + ${LilyGo_TDeck_Pro.lib_deps} + densaugeo/base64 @ ~1.4.0 + https://github.com/schreibfaul1/ESP32-audioI2S.git#2.0.6 + bitbank2/JPEGDEC + https://github.com/sh123/esp32_codec2_arduino.git +lib_ignore = + AsyncTCP + ESPAsyncWebServer + ; --------------------------------------------------------------------------- ; Audio + BLE companion, HYN touch (T-Deck Pro v1.1 units with the CST3530) ;