Commit Graph
28 Commits
Author SHA1 Message Date
Wessel NieboerandWessel Nieboer 057542625b Fix T1000E press=high 2026-04-04 13:19:13 +02:00
Wessel NieboerandWessel Nieboer 0a13ac7fc7 Default button polarity to active-LOW across all firmware types
Nearly all LoRa boards use a boot button that pulls to ground when
pressed.
2026-04-04 13:19:13 +02:00
Wessel NieboerandViezeVingertjes 741392889d Fix memcp compare length off by one
Co-authored-by: ViezeVingertjes <michael.overhorst@gmail.com>
2026-03-23 14:31:08 +01:00
Wessel Nieboer 7829c51898 Bump to RadioLib 7.6.0 2026-03-23 14:26:56 +01:00
Wessel NieboerandViezeVingertjes 3c0d186569 Fix memcp compare length off by one
Co-authored-by: ViezeVingertjes <michael.overhorst@gmail.com>
2026-03-11 20:08:47 +01:00
Wessel Nieboer bcfe001370 Have our github PR sanity check also run against main and dev for every merge
This will pick up any easy to spot build failures on dev/main
2026-03-11 16:51:09 +01:00
Wessel Nieboer e3afbf975e Prevent auto-restarting BLE when disabling it on nRF52
If client is still connected, client would automatically reconnect
immediately thus keeping BLE on

fixes #1933
2026-03-10 14:31:58 +01:00
Wessel Nieboer 60b76f56d9 update PR #765 2026-03-04 03:38:35 +01:00
Wessel Nieboer 801ed6bb0a Merge remote-tracking branch 'origin/dev' into fix-incorrect-ram-flash-maximums 2026-03-04 03:37:01 +01:00
Wessel Nieboer c0c9c17cf5 and buildscript 2026-03-03 15:37:33 +01:00
Wessel Nieboer 780720c117 and board! 2026-03-03 15:37:33 +01:00
Wessel Nieboer 90fcd1043f Fix ikoka handheld build
The extends was wrong.
2026-03-03 15:37:32 +01:00
Wessel Nieboer 14f066bed0 Fix sleep 2026-03-02 11:34:42 +01:00
Wessel Nieboer 8b7fed65de default lna_enabled=true 2026-03-02 11:34:12 +01:00
Wessel NieboerandWessel Nieboer 8a9a0dca5f Fix GPS +8mA power leak when disabled (nRF52)
On the T114, GPS_RESET (pin 38) is the same pin as PIN_3V3_EN.
MicroNMEALocationProvider::begin() sets pin 38 HIGH (powering the 3V3
rail) but stop() never set it back LOW, leaving the GPS module powered
even when disabled.

Assert reset pin in stop() to mirror begin(), and guard
_location->loop() behind gps_active check.

Fixes meshcore-dev/MeshCore#1628
2026-02-28 19:13:42 +01:00
Wessel NieboerandWessel Nieboer b2032e11b6 make it more dry 2026-02-28 19:09:25 +01:00
Wessel NieboerandWessel Nieboer 9106ab46e1 reset noise_floor sampling after agc reset 2026-02-28 19:09:25 +01:00
Wessel NieboerandWessel Nieboer a2dc2eb50c when doing AGC reset, call Calibrate(0x7F)
1. warm sleep
2. wake to stdby
3. Calibrate(0x7F) to reset all internal blocks
4. re-apply DIO2 RF / boosted gain & register patch to make sure
everything is as it was
2026-02-28 19:09:25 +01:00
Wessel NieboerandWessel Nieboer f81ec4b14c fix agc reset 2026-02-28 19:09:25 +01:00
Wessel NieboerandWessel Nieboer 5a5568ed56 Drive CTX low first 2026-02-28 19:09:06 +01:00
Wessel NieboerandWessel Nieboer d9e67222f5 prefs is 5 char length :nerd: 2026-02-28 19:07:38 +01:00
Wessel NieboerandWessel Nieboer 2bb6f636a4 Add 1ms delay after powering PA (cold-boot) 2026-02-28 19:05:31 +01:00
Wessel NieboerandWessel Nieboer 329e408197 Hold GC1109 PA_POWER during deep sleep for LNA RX wake
The GC1109 FEM needs its VFEM_Ctrl pin held HIGH during deep sleep
to keep the LNA active, enabling proper RX sensitivity for
wake-on-packet. Without this, the LNA is unpowered during sleep
and RX wake sensitivity is degraded by ~17dB.

Release RTC holds in begin() after configuring GPIO registers
(not before) to ensure glitch-free pin transitions on wake.

Trade-off: ~6.5mA additional sleep current for significantly
improved wake-on-packet range.
2026-02-28 19:05:31 +01:00
Wessel Nieboer ffc9815e9a Fix packet pool leak when rx queue is full
PacketQueue::add() silently dropped packets when the queue was at
capacity. The packet pointer was lost — never enqueued, never returned
to the unused pool. Each occurrence permanently shrank the 32-packet
pool until allocNew() returned NULL and the node went deaf. Return bool
from add() and free the packet back to the pool on failure.
2026-02-17 23:54:33 +01:00
Wessel Nieboer e8646f5ede Parse as signed int 2026-02-07 16:58:06 +01:00
Wessel Nieboer 23b4baa066 Enable register patch heltec tracker v2 2026-02-07 16:04:01 +01:00
Wessel Nieboer c4c287d01b Bridge always has work (prevents sleep) 2026-02-07 15:39:24 +01:00
Wessel Nieboer 0b1fd580f1 Fix double claim, eliminate dead code at compile time 2026-02-06 11:35:05 +01:00