Update readme. Update build date. Fix stale comments in Max ini.

This commit is contained in:
pelgraine committed 2026-09-15 19:09:17 +10:00
1 parent e1964d00cb
commit d52802fed3
3 files changed
+25 -25

No files matched your search

+10 -14
View File
@@ -5,7 +5,7 @@
;
; Key differences from LilyGo_TDeck_Pro (V1.1):
; - Peripheral power controlled via XL9555 (not direct GPIO)
; - 4G modem and ES8311 audio coexist (no longer mutually exclusive)
; - 4G modem and ES8311 audio work at the same time (not mutually exclusive)
; - ES8311 I2C codec replaces PCM5102A (different I2S pins, needs I2C config)
; - Several GPIO reassignments (see variant.h for full map)
; - 1500 mAh battery (was 1400)
@@ -16,13 +16,10 @@
; SD card, text reader, notes, contacts, channels, settings, discovery,
; last heard, repeater admin, web reader (WiFi builds), OTA update.
;
; NEEDS ADAPTATION (future work):
; - HAS_4G_MODEM: ModemManager uses direct GPIO for MODEM_POWER_EN/PWRKEY
; which are XL9555-routed on MAX. Needs board.modemPowerOn() etc.
; - MECK_AUDIO_VARIANT: ES8311 needs I2C codec init (PCM5102A didn't).
; I2S pins are different. AudiobookPlayerScreen needs ES8311 driver.
; - Combined 4G+audio: existing #ifdef guards treat them as mutually
; exclusive. Needs restructuring for coexistence.
; 4G (Phone/SMS) and ES8311 audio both work, at the same time: the modem is
; powered and its POWERKEY toggled via the XL9555 expander, and the ES8311
; is initialised over I2C. Audio output is switched between the modem and
; the codec by the XL9555 AUDIO_SEL line as needed.
; =============================================================================
; ---------------------------------------------------------------------------
@@ -134,7 +131,7 @@ build_flags =
-D ARDUINO_LOOP_STACK_SIZE=32768
-D HAS_MECK_FONTS
; Audio: ES8311 I2C codec (MAX). Enables the audio variant code paths and
; the native ES8311 init. 4G modem stays disabled until audio is solid.
; the native ES8311 init. The 4G modem runs alongside it (HAS_4G_MODEM).
-D MECK_AUDIO_VARIANT=1
-D HAS_ES8311_AUDIO=1
build_src_filter = ${esp32_base.build_src_filter}
@@ -158,13 +155,12 @@ lib_deps =
; ===========================================================================
; Meck MAX builds — LoRa mesh works out of the box on all variants.
; 4G modem and ES8311 audio need adaptation before they can be enabled.
; Meck MAX builds — LoRa mesh, 4G modem and ES8311 audio all work on every
; variant (the modem and codec share one board via the XL9555 expander).
; ===========================================================================
; MAX + BLE companion (standard BLE phone bridging)
; Both 4G + audio hardware present but not yet enabled in firmware.
; BLE_PIN_CODE limit: MAX_CONTACTS=500 (BLE protocol ceiling).
; MAX + BLE companion (standard BLE phone bridging).
; 4G modem and ES8311 audio both active.
[env:meck_max_ble]
extends = LilyGo_TDeck_Pro_Max
build_flags =