Commit Graph
1341 Commits
Author SHA1 Message Date
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
Florent 2cad4eecb4 ThinknodeM5: enable wifi in usb companion 2026-10-25 17:49:16 -04:00
fdlamotte ea8e95447f Merge pull request #3659 from fdlamotte/elecrow_eink_refactor
Elecrow eink refactor
2026-10-24 19:50:03 -04:00
Florent b2106ea7ee ThinknodeM1: update eink driver 2026-10-24 13:26:06 -04:00
Florent d7c0eadbe2 thinknode_m1: fix button2 definition 2026-10-24 11:15:28 -04:00
Luca Olivieri 220f886b59 Added INA219 sensor 2026-10-23 21:35:02 +02:00
Martin-hub1 c2f65e5f7f Add DFRobot LoRaWAN ESP32-S3 Companion BLE firmware
Add a board variant for the DFRobot DFR1195 (ESP32-S3-WROOM-1-N4, SX1262, 80x160 ST7735S) and a Companion BLE environment. The display and radio use separate SPI controllers: the SX1262 is on FSPI and the ST7735 is on HSPI. ST7735Display selects that HSPI bus and the 160x80 init sequence only when DFROBOT_LORAWAN_ESP32S3 is defined.
2026-10-22 17:53:57 +08:00
Florent 408d674ace DisplayDriver: fixing alignment issue in vtable for nrf52 and epd display 2026-10-21 17:13:27 -04:00
Florent a31e2c92df refactoring eink devices behaviour 2026-10-21 14:08:56 -04:00
liamcottle 87c76a8b06 implement new auto detect display for sh1106 and ssd1306 2026-10-21 15:41:11 +13:00
Liam Cottle dec8ad6edc Merge pull request #3614 from amdoolittle/fix/heltec-v4-tft-wifi-enable
Fix: Added WiFi to TFT BLE version of Heltec V4
2026-10-21 13:59:37 +13:00
Luca Olivieri 0d84774134 Add LilyGO T3 STM32 support 2026-10-20 19:58:14 +02:00
Marcel Verdult 665ece4c3c fix(meshtracker_x1): inherit MicroNMEA in every environment of the variant
What changes
- variants/meshtracker_x1/platformio.ini moves stevemarple/MicroNMEA from the
  four environments that listed it into the [MeshTracker_X1] base section, the
  way nano_g2_ultra already keeps it, and drops the four copies.

Why
- MeshTracker_X1_kiss_modem was the one environment of this variant that did not
  list the library, so it did not build:
    src/helpers/sensors/MicroNMEALocationProvider.h:4: fatal error: MicroNMEA.h: No such file or directory
  variants/meshtracker_x1/target.cpp includes the location provider
  unconditionally and every environment of this variant compiles target.cpp, so
  every one of them needs the library. Putting it in the base section makes that
  true by construction rather than by repeating the line and hoping none is
  forgotten, which is exactly what happened here.

Compatibility
- All five environments of the variant were built, which is the whole reach of this
  change. MeshTracker_X1_kiss_modem now builds (text 240180, bss 18236; on unchanged
  dev it does not build at all). For the four that already built, text and bss are
  byte for byte identical to a build from unchanged dev 428a95c6 with the same
  toolchain, so inheriting the library instead of listing it changes nothing for
  them: MeshTracker_X1_repeater text 299524 bss 32024, _room_server 292020 / 35740,
  _companion_radio_usb 316356 / 141000, _companion_radio_ble 322036 / 145432, each
  text +0 and bss +0 against dev.
2026-10-20 00:13:30 +02:00
Radek 933c0f6a98 added dynamic wifi to: lilygo t-beam supreme sx1262 ble companion 2026-10-18 11:02:07 +02:00
Claude 53a4250e51 Add repeater environment for Wio Tracker L1 E-Ink
Adds WioTrackerL1Eink_repeater, based on the OLED WioTrackerL1_repeater
env but using the E-Ink base config and GxEPDDisplay.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uhHFHwrigVgmzkD9GFAfA
2026-10-18 00:22:08 +02:00
amdoolittle 9d93a72693 Added WiFi to TFT BLE version of Heltec V4 2026-10-16 22:39:26 -07:00
agessaman d58042d8d2 fix(rak3401): sleep onboard SX1262 before boot voltage check
Move the onboard radio probe into RAK3401Board::begin() so a low-voltage
SYSTEMOFF at boot no longer leaves the RAK4631's onboard SX1262 in
standby. Add board startup tests and run them in CI.
2026-10-16 20:46:04 -07:00