Commit Graph
430 Commits
Author SHA1 Message Date
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 24bf9ddec5 we only need the -merged bins 2026-07-01 22:35:05 +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 b7aebcb9ab Merge pull request #41 from bpetrikovics/master
T1000E: blink LED on shutdown when buzzer is muted
2026-07-01 22:24:59 +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
liquidraver ce05ea2ea2 Route the RNG's functional clock to MSI 2026-06-22 08:49:49 +02:00
liquidraver 2f86310500 port lora e5 mini 2026-06-21 20:38:57 +02:00
liquidraver c6b4816cc4 fix wio tracker's sensor (grove) port 2026-06-19 18:43:50 +02:00
liquidraver 0f98ecec93 eink full refresh patch v20260619.094253 2026-06-19 11:24:47 +02:00
liquidraver 9f8f13e648 fix automount/autoformat loop v20260618.103531 2026-06-18 12:18:06 +02:00
liquidraver 550b77fd63 set default tx to around 22dBm for all PA boards v20260618.075149 2026-06-18 09:32:49 +02:00
liquidraver 104cf8d905 fix smearing on eink after full update 2026-06-18 07:33:41 +02:00
liquidraver 28f1c3af05 fix build and update readmes v20260617.211506 2026-06-17 22:31:47 +02:00
liquidraver 906ef08b05 3 way FS self-heal 2026-06-17 22:05:21 +02:00
liquidraver 2771872886 bump to 1.16.3 2026-06-17 15:52:57 +02:00
liquidraver c4a1777956 refactor gps manager 2026-06-17 15:42:50 +02:00
liquidraver 533a2a7e4e first fix 5 min timeout for GPS to prevent battery drain 2026-06-17 14:52:00 +02:00
liquidraver 7b3716bd6a fix M1 GPS power control 2026-06-17 14:15:45 +02:00
liquidraver 8e6ceff8e3 Merge pull request #40 from seagull9000/fix/esp32-ble-enc-funcs-reset
fix(esp32): init controller encryption so LE Secure Connections pairing works
2026-06-17 13:53:05 +02:00
John MillingtonandClaude Opus 4.8 ece01b4f7c fix(esp32): init controller encryption so LE Secure Connections pairing works
The ESP32 BLE controller glue guards ble_enc_funcs_reset() on
CONFIG_BT_CTRL_BLE_SECURITY_ENABLE, an ESP-IDF sdkconfig symbol that is never
defined in a Zephyr build. The call is therefore compiled out and the
controller's LE Secure Connections encryption table is left uninitialised, so
SC pairing derives a wrong session key and the link is terminated with HCI
reason 0x3D (MIC failure).

This breaks pairing for SC-capable centrals (e.g. Pixel 7 / recent Android);
legacy-pairing centrals use a different path and are unaffected. The existing
CONFIG_ESP32_BT_CTLR_LE_SECURITY_ENABLE=y only sets .enc_en and does not reach
this guard.

Correct the guard to BLE_SECURITY_ENABLE, which esp_bt.h already derives from
CONFIG_ESP32_BT_CTLR_LE_SECURITY_ENABLE (the Zephyr knob) and already uses for
.enc_en. Carried as a managed hal_espressif patch via the existing
zephcore_apply_patches() mechanism (mirrors the loramac-node patch).

Verified on Heltec Wireless Tracker (ESP32-S3): device reaches security
level 4, pairing complete bonded=1; Pixel 7 bonds over SC and the companion app
communicates; older Samsung still pairs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 14:28:29 +12:00
liquidraver ad5c777f2b Update README.md 2026-06-16 22:34:47 +02:00
liquidraver f59da1e0e5 fix esp build v20260616.202853 2026-06-16 21:53:42 +02:00
liquidraver e6016064f4 activate NVS on ESP 2026-06-16 21:20:27 +02:00
liquidraver f6c7ca8ec4 fixup wireless tracker 2026-06-16 13:40:31 +02:00
liquidraver 3dba7d460e Merge pull request #37 from seagull9000/feat/heltec-wireless-tracker
boards: add Heltec Wireless Tracker (V1.1) — ESP32-S3 + SX1262
2026-06-16 13:29:55 +02:00
liquidraver 4ec6f27202 password compare bug fix 2026-06-16 12:36:54 +02:00
liquidraver a0222fe12b fix android could not connect from app for ESP 2026-06-15 22:39:50 +02:00
John MillingtonandClaude Opus 4.8 f514d84a5c boards: add Heltec Wireless Tracker (V1.1) — ESP32-S3 + SX1262
New companion variant for the Heltec Wireless Tracker V1.1 (ESP32-S3-FN8 +
SX1262 + ST7735R 160x80 TFT + UC6580 GPS).  Overlay + conf only; no driver,
CMake, or patch changes.

Board-specific fixes worth calling out:

- Battery ADC on &adc0 (ADC unit 1 -> GPIO1), NOT &adc1.  In the upstream
  esp32s3 DTS the node *labelled* adc1 is unit 2, whose channel 0 is GPIO11 =
  the SX1262 MISO.  adc_esp32_channel_setup() drives the channel pad to
  GPIO_DISCONNECTED, clearing GPIO11's input buffer — which silently broke ALL
  LoRa SPI reads (reads returned 0x00 -> every LBT CAD timed out) and also
  sampled the wrong pin (battery read 0%).  Removed the upstream 'vbatt'
  voltage-divider (also on &adc1) and disabled adc1 so nothing claims GPIO11.

- Battery divider enable on GPIO2 active-HIGH (v1.1 ADC_CTRL), not the V3's
  GPIO37/active-LOW (which never powered this board's divider).

- SX1262 on SPI2 with driver GPIO CS; DIO1 pull-down + rx-boosted.

- GPS run line (GPIO35) exposed via the gps-enable alias; GPS is powered from
  the always-on Vext rail.  GPIO36 (GPS PPS, an output) left unconfigured.

- Status LED on GPIO18 exposed as led0 (ZephCore heartbeat).  UART1 — which the
  upstream DTS parks on GPIO17/18 — disabled so the LED isn't stuck on.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 08:18:20 +12:00
liquidraver 1970231553 fix esp s3 ble pairing error 2026-06-15 21:14:41 +02:00
liquidraver b4a7a4b6c1 fix mismatched guards 2026-06-15 15:29:32 +02:00
liquidraver dc7a2827a3 sync with vanilla dev 2026-06-15 15:25:04 +02:00
liquidraver b97d079e56 wire button to t-beam 2026-06-15 14:14:03 +02:00