Pro combined ble wifi 4G and Audio builds

This commit is contained in:
pelgraine committed 2026-10-18 13:30:51 +11:00
1 parent 7f46dffb13
commit 04bbd582bd
1 file changed
+73
+73
View File
@@ -311,6 +311,43 @@ lib_ignore =
ESPAsyncWebServer
ESP32 BLE Arduino
; Audio combined BLE + WiFi companion: TEST BUILD (same as meck_max_ble_wifi).
; Both connections built in, both off at boot. Whichever is turned on first
; after a restart works directly; switching to the other restarts the device.
; Free memory is logged on serial ("MEM ...") at boot, after each switch and
; when the Web Reader starts. Flags are meck_audio_ble's plus meck_audio_wifi's.
[env:meck_audio_ble_wifi]
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 MECK_WIFI_COMPANION=1
-D TCP_PORT=5000
-D OFFLINE_QUEUE_SIZE=256
-D MECK_AUDIO_VARIANT
-D MECK_WEB_READER=1
-D MECK_OTA_UPDATE=1
-D FIRMWARE_VERSION='"Meck v1.15.1.BLE-WiFi"'
;-D WIFI_DEBUG_LOGGING=1
build_src_filter = ${LilyGo_TDeck_Pro.build_src_filter}
+<helpers/esp32/*.cpp>
+<helpers/ui/MomentaryButton.cpp>
+<../examples/companion_radio/*.cpp>
+<../examples/companion_radio/ui-new/*.cpp>
+<helpers/ui/GxEPDDisplay.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 standalone (audio-player hardware, no BLE/WiFi — maximum battery life)
; No MECK_WEB_READER: WiFi power draw conflicts with zero-radio-power design.
; OTA enabled: WiFi AP activates only during user-initiated firmware updates.
@@ -498,6 +535,42 @@ lib_ignore =
esp32_codec2_arduino
ESP32 BLE Arduino
; 4G combined BLE + WiFi companion: TEST BUILD (same as meck_max_ble_wifi).
; Both connections built in, both off at boot. Whichever is turned on first
; after a restart works directly; switching to the other restarts the device.
; Free memory is logged on serial ("MEM ...") at boot, after each switch and
; when the Web Reader starts. Flags are meck_4g_ble's plus meck_4g_wifi's.
[env:meck_4g_ble_wifi]
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 MECK_WIFI_COMPANION=1
-D TCP_PORT=5000
-D WIFI_DEBUG_LOGGING=1
-D OFFLINE_QUEUE_SIZE=256
-D HAS_4G_MODEM=1
-D MECK_WEB_READER=1
-D MECK_OTA_UPDATE=1
-D FIRMWARE_VERSION='"Meck v1.15.1.4G.BLE-WiFi"'
build_src_filter = ${LilyGo_TDeck_Pro.build_src_filter}
+<helpers/esp32/*.cpp>
+<helpers/ui/MomentaryButton.cpp>
+<../examples/companion_radio/*.cpp>
+<../examples/companion_radio/ui-new/*.cpp>
+<helpers/ui/GxEPDDisplay.cpp>
lib_deps =
${LilyGo_TDeck_Pro.lib_deps}
densaugeo/base64 @ ~1.4.0
lib_ignore =
AsyncTCP
ESPAsyncWebServer
ESP32-audioI2S
esp32_codec2_arduino
; 4G standalone (4G modem hardware, no BLE — maximum battery + cellular features)
; No BLE_PIN_CODE: BLE never initializes, saving ~30KB heap + radio power.
; MECK_WEB_READER enabled: works better without BLE (no teardown dance needed,