Commit Graph
1362 Commits
Author SHA1 Message Date
Scott Powell 2ab6f411fb * final fix 2026-11-19 18:32:36 +11:00
Scott Powell 79121ea40e * more fixes 2026-11-19 18:19:26 +11:00
Scott Powell baed10539c * misc fixes 2026-11-19 17:56:59 +11:00
Scott Powell 89d805a02f * 2nd round of .ini refactors 2026-11-19 17:18:54 +11:00
Scott Powell adac387b0f * lotsa super boring refactoring 2026-11-19 15:22:23 +11:00
Scott Powell 8fae584dfa * thinknode_m5: simplified the target.* modules 2026-11-19 12:05:14 +11:00
Scott Powell 314a947f21 Merge commit 'e5ca7a0e49c3ffe9b25464d2845fc85492c36509' into ui-task-refactor 2026-11-19 11:54:54 +11:00
Scott Powell 0820673580 * UITask constructors now with same params, so don't have to have separate target-* modules/dirs 2026-11-19 11:54:24 +11:00
fdlamotte e5ca7a0e49 ui-task: apply refactoring on thinknode_m5 (#3869) 2026-11-18 11:40:11 -04:00
Scott Powell 363b391866 * interface manager now injected via begin() 2026-11-18 23:31:08 +11:00
Scott Powell 7b8ac81527 * companion UI's moved/refactored to src/helpers/ui
* only select variants .ini config refactored so far (Heltec V3, MeshTracker V1, LilyGo T-Echo Card)
2026-11-18 22:00:04 +11:00
Scott Powell 0e164ae46c * refactored UITask from repeater/room/sensor to /helpers/ui/server
* added BaseUITask for common behaviours
* ui_task now instantiated in one of the variant's target-*.cpp modules
2026-11-18 18:18:06 +11:00
Cyclic3 e365863ffe Fix USB serial issue on Xiao ESP32-S3 Wio (#1416) (#3726)
* Initial attempt at fixing serial issue on Xiao ESP32-S3 Wio (#1416)

* restrict Xiao ESP32-S3 WIO fix to just that board
2026-11-14 21:06:23 -04:00
Quency-D 242b5db7fa Fix RC52 unused SPI1 MISO pin mapping
Use pin index 0, which maps to NRFX_SPIM_PIN_NOT_USED, to avoid the nRF52 SPI constructor indexing g_ADigitalPinMap[255]. Remove the absent MISO shutdown reset so the sentinel cannot reset physical P0.00. Follows the variant-side fixes in #3188 and #3189.

Validated heltec_rc52_repeater and heltec_rc52_companion_radio_ble builds. ELF disassembly confirms the MISO lookup uses map[0]=0xFF instead of the +1020-byte read and shutdown has no P0.00 reset. No hardware testing performed.
2026-11-12 15:54:21 +08:00
Quency-D dd83853585 Fix RC52 companion radio builds 2026-11-12 14:20:08 +08:00
Quency-D 38d95975e8 Merge pull request #20 from meshcore-dev/dev
merge Dev
2026-11-12 14:03:11 +08:00
Olexandr Tyshchenko ef6ef2e9d2 GPS: GPS_BAUD_PROBE_LIST as a build flag for any NmeaGpsDriver; enable on Station G2/G3
The probe list was wired only in variants/promicro/target.cpp. It is now the
default list of NmeaGpsDriver when GPS_BAUD_PROBE_LIST is set, so a variant
enables baud autodetection with a build flag alone.

Station G2 and G3 enable it: their Grove UART connector is used with M5Stack
Unit GPS modules, which default to 115200.
2026-11-10 23:51:29 +02:00
fdlamotte b8ae75d258 Merge pull request #3770 from lihardyextreme/feature-mdns
feat: mDNS ESP32 - enable local network discovery over mDNS
2026-11-10 12:07:18 -04:00
fdlamotte 44702f93a9 Merge pull request #3793 from fdlamotte/eink_hibernate_when_off
eink: some updates (busy loop + hibernate when screen off)
2026-11-10 12:00:43 -04:00
Florent 8d5bd2e2c7 eink: some updates (busy loop + hibernate when screen off) 2026-11-10 11:52:38 -04:00
fdlamotte d495d2edf5 Merge pull request #3623 from BeGiBue/feature/wio-l1-eink-repeater
Add repeater environment for Wio Tracker L1 E-Ink
2026-11-10 09:06:45 -04:00
fdlamotte d1df7d2722 Merge pull request #3664 from Martin-hub1/dev
Add DFRobot LoRaWAN ESP32-S3 Companion BLE firmware
2026-11-10 09:06:07 -04:00
fdlamotte 4b71ed4498 Merge pull request #3613 from agessaman/feat/rak13302-auto-onboard-sleep
feat(rak3401): automatically sleep the RAK4631’s onboard SX1262 when paired with a RAK13302
2026-11-10 09:01:51 -04:00
fdlamotte 2367886a4c Merge pull request #3724 from akalinin-softvelum/feature/eink-busy-hook-v2
companion: keep mesh/BLE running during e-ink refresh
2026-11-10 08:40:43 -04:00
fdlamotte ad97616894 Merge branch 'dev' into feature/lilygo-t3-stm32 2026-11-10 08:22:52 -04:00
fdlamotte d6d51333c2 Merge pull request #3762 from wmacgreg/feature/nucleo-wl55jc
Add variant for ST Nucleo-WL55JC1 (STM32WL55JC) 🤖🤖
2026-11-10 08:14:51 -04:00
fdlamotte 62ae611afd Merge pull request #3753 from fdlamotte/gps_refactor
Big GPS refactor
2026-11-10 07:44:00 -04:00
Olexandr Tyshchenko cbfa66df9d NmeaGpsDriver: baud rates to probe come from the board, not a build flag 2026-11-09 22:59:47 +02:00
Martin Boissonneault 666949fae4 rak4631: let the serial GPS switch the WB_IO2 rail (opt-in)
On a RAK19007 the RAK12501's supply is 3V3_S, switched by WB_IO2, so
gps off, periodic mode and shutdown left it powered. Pass WB_IO2 to the
NMEA driver as peripheralPower under GPS_RAIL_POWER_CONTROL, set by the
new RAK_4631_repeater_gps_power env. It is opt-in because the rail feeds
every slot module, and refused with ETHERNET_ENABLED (RAK13800).

The RAK12500 (I2C) driver keeps switching its own power pin, so this
only applies on the NMEA path.

RefCountedDigitalPin now sets OUTPUT on claim and release: WB_IO2 left
as an input (as probeRak12500() leaves it after a failed probe) keeps
3V3_S in its last state, so writing the latch alone did not cut it.

Measured with a KM003C, battery and panel out: gps off 40.5 -> 12.4 mA,
shutdown 29.7 -> 1.30 mA.
2026-11-08 08:47:35 -04:00
Florent d71a418748 gps: serial pin and configuration fixes (nrf52, meshadventurer, tracker_v1, heltec_tracker) 2026-11-08 08:47:34 -04:00
Níckolas Goline 22ce208e68 muzi_base: fix GPS UART pins and re-enable ATGM336H NMEA output
The refactor no longer calls Serial1.setPins() on nRF52, so Serial1 uses
PIN_SERIAL1_RX/TX directly. Those were swapped (the GPS transmits on
P0.20), so no data was received. Fix them and define PIN_GPS_TX/RX by the
gps module's side, as other variants do.

The ATGM336H keeps its NMEA output config across power cycles, and other
firmware may leave every sentence disabled. Re-enable GGA + RMC after each
power-up.
2026-11-08 08:47:34 -04:00
Florent 3fd36e7ac6 gps: adapt ui-new and the sensor managers 2026-11-08 08:47:34 -04:00
Florent fa7ca3f418 rak_gps: simplify the rak driver, which now only handles i2c, for nmea use nmea driver directly 2026-11-08 08:47:34 -04:00
Florent fe6a47d0c9 gps: move the gps CLI to GpsPrefs and convert all targets 2026-11-08 08:47:34 -04:00
Florent df5a768c5d gps: add GpsDriver, handle the hardware and software switches in the drivers 2026-11-08 08:47:34 -04:00
Liam Cottle f9b1945bd3 Merge pull request #3637 from marcelverdult/upstream-candidate/meshtracker-x1-micronmea-dep
Fix MeshTracker X1 kiss_modem build: inherit MicroNMEA in every environment
2026-11-08 18:38:24 +13:00
fdlamotte 90a1aac123 Merge pull request #3774 from recrof/rpi2350-support
added rp2350 support, harmonized companions with other variants
2026-11-07 15:57:37 -04:00
agessaman 322cd638fb Merge remote-tracking branch 'upstream/dev' into feat/kiss-agc-fem-control 2026-11-06 20:38:01 -08:00
Rastislav Vysoky b44f010bd8 added rp2350 support, harmonized companions with other variants 2026-11-07 00:35:47 +01:00
Li Hardy Extreme 9a2230b60e feat: mDNS ESP32 - enable local network discovery over mDNS 2026-11-06 00:10:59 +01:00
Liam Cottle 77e27e5634 Merge pull request #3099 from jirogit/feat/c6l-kiss-modem
Fix M5Stack Unit C6L kiss_modem env missing USB CDC flags
2026-11-05 07:40:55 +13:00
Will MacGregorandClaude Opus 5 dd78cc35d2 Add variant for ST Nucleo-WL55JC1
Adds repeater, room_server, companion_radio_usb and kiss_modem
environments for the NUCLEO-WL55JC1 (STM32WL55JC, integrated SubGHz radio).

Notes on the board setup:

- Uses the upstream nucleo_wl55jc board. PlatformIO's boards_remap maps it
  to the core's NUCLEO_WL55JC1 variant, so the LEDs, user buttons and the
  LPUART1 -> ST-LINK VCP serial mapping all come from the core rather than
  being redefined here.
- The RF switch table is built from the core's LORAWAN_RFSWITCH_* macros
  (SP3T front end on PC3/PC4/PC5) so it tracks upstream if those are ever
  revised. Both RFO_LP and RFO_HP are registered, so RadioLib selects HP
  above 14 dBm and LP below it.
- board_build.extra_flags pins the device to STM32WL55xx. The stock board
  manifest declares product_line STM32WL55xx but extra_flags -DSTM32WLE5xx;
  that only works because every #elif chain happens to test WL55xx first.
- The Nucleo's LD1..LD3 are driven active HIGH, so the TX LED hooks are
  inverted relative to STM32Board's active-LOW default.
- 32 KB reserved at the top of flash for LittleFS, as on the other
  STM32WL variants.

Verified on hardware: all four environments build; repeater and room_server
flash and run over ST-LINK; identity and prefs persist across reboot and
across a firmware swap; and GPIOC reads back the documented RX levels at
idle, confirming the front-end switch is driven correctly.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-11-04 09:46:40 -05:00
ripplebiz 26079dea9b Merge pull request #3599 from zxw19/feat/sensecap-solar-white-led
feat: Add low-power white status LED for SenseCAP Solar P1 Pro
2026-11-02 19:17:14 +11:00
zxw f9c54a1499 feat: Add low-power white status LED for SenseCAP Solar P1 Pro
Add a dimmed heartbeat for the SenseCAP Solar (P1 Pro) white LED in the
repeater firmware, implemented entirely as a SenseCapSolarBoard::loop()
override so no example main.cpp needs to be touched:

- 100 ms pulse every 5 s, dimmed to 10% brightness via hardware PWM
  (NRF_PWM0 / HwPWM0, 1 kHz, COUNTERTOP 16000, compare 1600)
- during the 4.9 s off phase the PWM peripheral is stopped (ENABLE=0),
  the pin is released (PSEL disconnect) and GPIO 11 is held LOW, so no
  HFCLK is demanded between pulses
- on successful application-level "start ota" the PWM is stopped and the
  white LED goes steady full-brightness while BLE OTA is advertised;
  on failed start the heartbeat keeps blinking
- powerOff() stops/releases the heartbeat PWM before shutting the LED off
- non-blocking millis() timing with wrap-safe unsigned arithmetic
- gated by SENSECAP_SOLAR_WHITE_LED, defined only in the
  SenseCap_Solar_repeater PlatformIO env, so the room-server and
  companion firmwares sharing this board class are unaffected

No changes to LoRa/repeater forwarding, the blue TX LED, charging LEDs,
GPS, power management, config storage or the bootloader.
2026-10-30 10:01:52 +08:00
akalinin-softvelum 1df6262d58 companion: enable e-ink refresh loop only with EINK_REFRESH_LOOP
Only builds that define EINK_REFRESH_LOOP install the busy hook; for now
the T-Echo companion BLE/USB envs.
2026-10-29 13:21:11 +00:00
fdlamotte 04d72b1049 Merge pull request #3687 from fdlamotte/display_prefs
ui: add some parameters to the cli (mostly regarding eink behaviour)
2026-10-29 08:35:36 -04:00
Florent 5d7100ae7d ui: add some parameters to the cli (mostly regarding eink behaviour) 2026-10-29 08:34:41 -04:00
Florent cedb8050a5 Remove unused buttonStateChanged from some variants 2026-10-27 15:52:36 -04:00
akalinin-softvelum 492814bbef T-Echo: use GxEPD2_154_D67 e-ink driver
T-Echo used the fallback GxEPD2_150_BN; on my unit every refresh hit the
10 s busy timeout. Switch to GxEPD2_154_D67 like Meshtastic.
2026-10-27 18:20:36 +00:00
fdlamotte afa4b87c6c Merge pull request #3509 from marcelverdult/fix/thinknode-m8-sensors
Fix ThinkNode M8 repeater/room server build: compile sensor helpers for all envs
2026-10-27 09:31:51 -04:00