mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-08-15 07:10:21 +00:00
The V4-R8 uses an ESP32-S3R8 (8 MB OCTAL PSRAM) which claims GPIO33-37, so Heltec moved every control signal off them and the Expansion Kit V2 rebuilt the display/touch/SD block onto a hardware-SPI bus: Vext 36->40 (active-LOW) . GPS_EN 34->42 . LED 35->46 . ADC_Ctrl removed TFT (LovyanGFX HW-SPI): MOSI=15 SCK=16 MISO=45 CS=47 DC=48 RST=21 BL=44 touch (CHSC6x, shares board I2C 17/18) . micro-SD (shared TFT SPI, CS=3) The build defines HELTEC_LORA_V4_TFT too, so it reuses all the V4 touch-UI code; HELTEC_LORA_V4_R8 gates only the deltas. 8 MB enables the on-device web browser (CAP_WEB_BROWSER) and the SD card (CAP_SD). Also wires the board into the release + web-flasher pipeline (release.sh, gen-flasher-meta.py, the flasher picker). UNTESTED — no V4-R8 hardware yet. Pin sources: Meshtastic heltec_v4_r8 variant, Heltec V4-R8 pinmap, and the Expansion_board_V2.03 schematic. All three touch envs build clean; V4/T-Deck unregressed. On-device TODO: CHSC6x shared-Wire on 17/18, SD_CS=3, and the V2 PAM8904 buzzer. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>