Commit Graph
431 Commits
Author SHA1 Message Date
liquidraver 67175d2bb2 CAD docs update 2026-07-08 15:25:58 +02:00
liquidraver a03856cb34 gps cli commands fix and e-ink sats count clear 2026-07-08 09:16:47 +02:00
liquidraver d081535a80 tiny ui v1 2026-07-07 23:14:22 +02:00
liquidraver 4bcefbcda7 mirror PR #51 onto V4.3 2026-07-07 22:36:26 +02:00
liquidraverandClaude Opus 4.8 4246f94ae1 Merge pull request #51 from etienn01/fix-heltec-v4-display-and-boot
Fix Heltec V4 display (Vext PMOS polarity) and Xtensa TX-wait stack overflow.

Conflict in heltec_wifi_lora32_v4_procpu.dts resolved: kept the corrected
BatADC header line from 247ca65 (GPIO1 = ADC1_CH0 / &adc0, GPIO37 active-HIGH)
and took the PR Vext change (GPIO36 active-LOW PMOS rail switch).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 22:18:09 +02:00
liquidraver 247ca655a8 fix heltec v3/4/4.3 0% battery 2026-07-07 21:25:59 +02:00
Étienne Fesser c4fb9c0638 Fix TX wait thread stack overflow on Xtensa (boot freeze)
TX_WAIT_THREAD_STACK_SIZE was 1024 bytes, shared by every radio
adapter. On Xtensa (all ESP32/S3 boards) the windowed ABI needs ~3x
the stack of Cortex-M for the same code — Zephyr's own Kconfig
defaults reflect this (IDLE_STACK_SIZE: 1024 if XTENSA vs 320 ARM).

Measured peak usage on Heltec V4 (immediate-mode logging, full TX
cycle including startReceive/lora_config): 1252 bytes — already past
the old 1024 limit. The overflow corrupts the exception frame and
parks CPU0 in _DoubleExceptionVector (LoadProhibited @0x2c), a silent
total freeze at boot. Confirmed via the S3 built-in USB-JTAG:
current thread at crash = lora_tx_wait.

2048 gives ~39% headroom over the measured worst case.
2026-07-06 19:26:17 +02:00
Étienne Fesser 2a26e830e2 Fix Heltec V4 Vext polarity (OLED never powered)
The V4's Vext rail switch is a PMOS: GPIO36 LOW turns the rail ON.
The DTS drove it ACTIVE_HIGH, leaving the OLED (and its I2C pull-ups)
unpowered — the rail floats at ~1.6V and SSD1306 init always fails
with -ETIMEDOUT.

Verified on hardware with a multimeter: GPIO36 high = 1.6V on Vext,
GPIO36 low = 3.3V, display works.

This matches what the working Arduino MeshCore firmware actually does
with the pin, despite its PIN_VEXT_EN_ACTIVE=HIGH define:
RefCountedDigitalPin::begin() initialises the pin to its *inactive*
level (LOW), and the V4 OLED build constructs the display with a NULL
periph_power (variants/heltec_v4/target.cpp) so nothing ever claims
it HIGH. GPIO36 is therefore driven LOW continuously under Arduino —
the exact state this fix reproduces via an ACTIVE_LOW boot-on
regulator.
2026-07-06 19:26:17 +02:00
liquidraver eff498b64c Merge pull request #48 from etienn01/fix-t096-display-offset
Fix ST7735S display offset
2026-07-04 23:46:53 +02:00
liquidraver f58f7de8f5 timesync cosmetics and uptime back to UI 2026-07-04 23:12:41 +02:00
Étienne Fesser b62507f68b Fix Heltec Wireless Tracker v1/v2 display offset 2026-07-04 22:30:43 +02:00
Étienne Fesser 8603bd25bb Fix T096 display offset 2026-07-04 22:20:25 +02:00
liquidraver 000f6ed494 fix some text in docs and comments 2026-07-04 16:47:46 +02:00
liquidraver 2f370285d0 fix build warning 2026-07-04 16:18:09 +02:00
liquidraver 3c4c548c8e add lilygo t-impulse plus 2026-07-04 15:47:27 +02:00
liquidraver c1bba3c609 move with zephyr 2026-07-04 14:19:25 +02:00
liquidraver 38b8ff07cf rework refresh display 2026-07-04 14:15:31 +02:00
liquidraver 74aa3810ee Merge pull request #47 from matthew73210/master
Reworked the screen pages
2026-07-04 12:51:15 +02:00
liquidraver 6057670171 sync with vanilla dev 2026-07-04 12:50:37 +02:00
liquidraver c36aec98b0 unify hold gate for timesync 2026-07-04 12:05:31 +02:00
liquidraver fe14c73f52 bump version 2026-07-04 11:55:24 +02:00
liquidraver 7c4199c8bf thinknode m6 gps & regulator fix 2026-07-04 11:49:16 +02:00
liquidraver e12f5fce8c heltec v4 battery reading fix 2026-07-04 11:26:01 +02:00
liquidraver f8f62cd65b drop serial on reboot for ESP 2026-07-04 11:21:10 +02:00
liquidraver 487693f669 update documentation 2026-07-04 09:41:09 +02:00
Matthew Burton d5efd3351a fixed apc text on screen 2026-07-04 07:42:10 +02:00
Matthew Burton 955acca8b0 Added the WTv2 2026-07-04 07:28:17 +02:00
Matthew Burton 40ae090258 Reworked the screen pages 2026-07-03 21:13:52 +02:00
liquidraver cb3d81535b gate color code to tft only 2026-07-03 20:14:18 +02:00
liquidraver 6ef03fb10e Merge branch 'master' into dev 2026-07-03 19:58:07 +02:00
liquidraver 0a22effec2 Merge pull request #45 from matthew73210/master
feat(boards): add Heltec T096 companion support
2026-07-03 19:31:24 +02:00
liquidraver 46d27a0144 meshtimesync p2 2026-07-03 19:30:53 +02:00
liquidraver 14cb8c61f9 meshtimesync p1 2026-07-03 09:11:43 +02:00
liquidraver fc940d27ba sync with dev 2026-07-02 13:13:26 +02:00
liquidraver 4d16dc7589 fix send retry bug in CompanionMesh 2026-07-02 09:29:37 +02:00
liquidraver 3af781ee87 get rid of flash writes initiated by ZephyrGPSManager 2026-07-02 09:20:10 +02:00
liquidraver a725a8ce9a update readme 2026-07-01 23:11:47 +02:00
liquidraver 989dd4b93e dont hammer flash with gps fixes 2026-07-01 22:37:11 +02:00
liquidraver 1cbddc64da gps fixes 2026-07-01 22:31:18 +02:00
liquidraver 8f933fd2c7 remove T1000 ifdef 2026-07-01 22:27:33 +02:00
liquidraver b2121fd0e8 Merge branch 'master' into dev 2026-07-01 22:26:10 +02:00
liquidraver 0e5cd5f6de Fix joystick UI path editor to encode/decode paths at the mesh's actual hash size, not always 1-byte 2026-07-01 22:19:37 +02:00
liquidraver f1124e6783 Fix path-discovery response wrongly rejected at non-default path_hash_mode (2/3-byte hashes) 2026-07-01 21:03:35 +02:00
Matthew Burton 1a0d4a448e Bit more colour 2026-06-29 21:17:23 +02:00
Matthew Burton 7748480d46 Added some colour and reworked some of the screens 2026-06-29 21:05:22 +02:00
Matthew Burton 43f455393e added colour and fixed set tx adc not sticking 2026-06-29 20:22:52 +02:00
Matthew Burton a7ff39352c added screen build 2026-06-29 18:39:09 +02:00
Matthew Burton 8b5eab4657 First try at T096 port 2026-06-29 17:36:40 +02:00
Balazs Petrikovics ff4503d001 T1000E: blink LED on shutdown when buzzer is muted
On long-press shutdown with buzzer muted, flash the heartbeat LED 3
times as a visual power-off indicator. Auto-shutdown paths are unaffected.
2026-06-24 18:52:00 +02:00
liquidraver bd363781ac companion hybrid refactor v1 2026-06-23 22:45:25 +02:00