201 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 d22005a6fd OTA phase 5: tools and docs ready for the public export
pub-release / release (push) Successful in 32m57s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 18:07:39 +01:00
tthandClaude Opus 5.5 cf70a95da4 OTA phase 2: the public OTA key meshcore-ota@tth-pub
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:37:57 +01:00
tthandClaude Opus 5.5 ee935a9fc7 OTA packages from CI: tth-fw-release builds full + delta packages, fleet key
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:35:04 +01:00
tth aaca10958e FwUpdate: format 2 delta packages (FwPatch in RAM), base checked with the manifest 2026-11-12 23:52:14 +01:00
tth 8d3e554ca3 FwPatch: in-place delta update (detools 0.53.0 vendored), dry run predicts the real run 2026-11-12 23:23:40 +01:00
tth daaf0c2267 FwUpdate: admin-pushed OTA without a bootloader change (bench stage) 2026-11-12 14:24:24 +01:00
tthandClaude Opus 5.5 5f63ba303c Merge upstream/dev (13 commits) [upstream-sync]
pub-release / release (push) Successful in 23m45s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 00:28:06 +01:00
Rastislav Vysoky 683680d83b fix: pin to 5.6.0 2026-11-07 00:49:21 +01:00
Rastislav Vysoky c5a0673d67 added rp2350 support, harmonized companions with other variants 2026-11-07 00:35:47 +01:00
tthandClaude Opus 5.5 ce4c755308 test(native): fix duplicate AdvertDataHelpers after upstream test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:34:24 +01:00
tth 790cf23466 Merge remote-tracking branch 'origin/dev' 2026-10-28 20:29:38 +01:00
Rastislav Vysoky 15c58df0d9 bump RadioLib to 7.8.1 2026-10-27 09:56:20 +01:00
tthandClaude Opus 5.5 3ecc0f45d4 platformio: zástupné secrets.admin_pw (upstream-sync CI bez local.ini padal na tth_fleet)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 02:54:46 +02:00
tthandClaude Opus 5.5 107b37b5f4 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 18:35:35 +02:00
tthandClaude Opus 5 793c309a4b feat(advert): stav baterie jako ikonka na konci advertovaného jména
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 19:13:38 +02:00
Blake Latchford ab315cae30 Pin Radiolab for stm32 and replace ltoa
The major rev from 19.x to 20.x breaks Radiolab, so pin it for now. This should fix the failing wio-e5-mini_repeater builds.

ltoa is removed upstream, so it was replaced with snprintf. The p[] buffer is always 16 bytes. Copy/paste for why claude thinks this is fine below, but also if this is broken it wouldn't be new.
```
exp2 in [23, 30] (int_part = mantissa << (exp2 - 23)): this is where int_part can reach its true max, up to 2,147,483,520 — 10 digits. That's what the snprintf bound of 11 (10 digits + NUL) is sized for. But in this branch frac_part is never assigned anything other than its initial 0, so only *p++ = '0' runs for the fraction — 1 char, not 7.

exp2 in [0, 22] (int_part = mantissa >> (23 - exp2)): this is the only branch where frac_part can also be nonzero and enter the 7-digit loop. Here int_part < 2^23 by construction, so it's capped at 7 digits, never 10.
```
2026-09-17 22:12:53 -04:00
Yoshi Walsh 8adad96e86 Fix Git error during project configuration
Previously project configuration would fail with "fatal: couldn't find remote ref d541301" (git v2.55.0)

Per https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt-refspec, the <src> needs to be either a ref or a "**fully spelled** hex object name"

This requirement is also mentioned in this SO answer: https://stackoverflow.com/a/30701724

After this change, project configuration now succeeds.
219812
2026-09-09 17:42:35 +10:00
tthandClaude Fable 5 3073c26c73 ci: opravit nRF52 buildy na GH (lokální symlink leakl do trackovaného configu)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-06 00:07:38 +02:00
tthandClaude Fable 5 6f90c80dcc feat(repeater): antispam — FairnessLimiter (port #1502) + kanálový deny list
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-05 21:35:36 +02:00
tthandClaude Opus 5 de5bd52bd9 ci: native_asan do testovaci sady, jinak bounds fixy nic nechrani
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 18:19:40 +02:00
tthandClaude Opus 5 26ab83a4b7 fix(kiss): host testy se od 1. 9. neprekladaly, nikdo si toho nevsiml
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 02:22:05 +02:00
tthandClaude Opus 5 bd60aa4322 Merge remote-tracking branch 'origin/dev' into main
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 02:19:04 +02:00
tthandClaude Opus 5 0524c78459 fix(packet): readFrom četl pole dřív, než se zeptal, jestli tam vůbec jsou
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-01 20:12:01 +02:00
Scott Powell 55855f4cae * DynamicConfigSerializer fixes, and unit tests 2026-08-24 19:42:55 +10:00
tthandClaude Opus 5 480582f344 build: stamp the version in every nRF52 env, not in two of them
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 20:06:33 +02:00
liamcottle deb5e735b8 updated gcc toolchain for nrf52 boards 2026-08-19 12:07:29 +12:00
tthandClaude Opus 5 774676248b Merge upstream v1.17.0 (origin/main) into the analyzer/BLE fork
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-09 22:44:07 +02:00
Scott Powell 49319023e5 Merge branch 'dev'
# Conflicts:
#	docs/payloads.md
2026-08-09 14:36:53 -04:00
taco e1fa02a677 bump CustomLFS version for GD25Q64C support 2026-08-09 11:45:35 +10:00
ripplebiz 1b4afa95b6 Merge pull request #2824 from NickDunklee/rak-advert-hw-encryption
feat: use nrf52 hardware crypto where we can
2026-08-02 15:35:33 +10:00
Scott Powell cfb7d156e9 Merge branch 'dev' into config-serializer
# Conflicts:
#	test/mocks/Arduino.h
#	test/mocks/Stream.h
2026-07-24 15:06:48 +10:00
Nick Dunklee 0b7f83894f Global nrf52 hardware crypto, removed from individual configs
Select nodes had this flag enabled, testing by the community
and hardware specs indicate this can be enabled global for all
node types using this chipset.

Any nodes down the line that may be quirky can be individually
disabled with `-U USE_CC310_HW_CRYPTO`.
2026-07-23 14:02:34 -06:00
ViezeVingertjes 779cd08e54 fix: run KISS modem unit tests in CI via native_kiss_modem env
The new test_kiss_modem suite needs KissModem headers and sources that
only native_kiss_modem provides. Scope native to test_utils and run both
envs in the unit test workflow.
2026-07-18 22:43:55 +02:00
ViezeVingertjes 2679fa8ebc fix: prevent ESP32 KISS modem stalls under USB backpressure
Switch ESP32-S3 KISS modem environments to HWCDC and move outbound KISS writes to a non-blocking queued frame path so loop() and TX completion keep progressing when the host reads slowly. Add native backpressure regression tests and correct the native_kiss_modem test filter so this suite runs directly with pio test.
2026-07-18 22:43:55 +02:00
Scott Powell c34c368e3f * RP2040 build fixes
* new prefs file now "/prefs.json"
2026-07-18 20:12:21 +10:00
Scott Powell bfb5310c6b * added unit tests for ConfigSerializer 2026-07-17 20:55:30 +10:00
liamcottle aecbcac273 update radiolib to v7.7.1-6d893483 2026-07-13 14:39:54 +12:00
tthandClaude Opus 4.8 0250816a40 config: git-ignored BLE PIN secret + SenseCap SHT41/INA226 + nRF52 framework symlink
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 19:21:11 +02:00
Christoph Koehler f6843b10a6 refactor: split MeshTables::hasSeen into pure query + markSeen
hasSeen() was simultaneously a predicate and a mutator — it inserted the
packet hash on every miss, making five call sites that only wanted to mark
a packet as sent call it with the return value discarded.

Split into:
- wasSeen()   — pure predicate, no side effects
- markSeen()  — explicit insert

All query sites now call markSeen() immediately after wasSeen() returns
false, preserving identical runtime behaviour. The five mark-only send
sites (sendFlood, sendDirect, sendZeroHop x2) now call markSeen directly.

Also fixes three bridge sites (BridgeBase, ESPNowBridge, RS232Bridge)
that had the same query+implicit-insert pattern.

Tests: add test/test_mesh_tables/ covering wasSeen purity, markSeen,
dup stats, and clear. Update SHA256 mock to produce deterministic output
(previously finalize() was a no-op). Add Packet.cpp to native build filter.
2026-07-01 21:51:38 -06:00
Christoph Koehler caece08f8d build: add gcc, gtest to nix shell, fix native test framework 2026-07-01 08:19:27 -06:00
taco 2488de7dbd pin platform-raspberrypi to 4e22a0d
pins framework-arduinopico @ 1.50600.0+sha.6a1d13e9
2026-06-04 23:21:41 +10:00
Florent a979cdb7a0 stm32: make subghz dep fix global and update framework 2026-06-01 08:39:09 +02:00
taco f195d93392 pin CustomLFS to version 0.2.2
CustomLFS 0.2.2 adds support for the flash chip in LilyGo T-Echo Card and T-Echo Lite
2026-05-11 11:37:56 +10:00
taco 0a3d15b1f1 fix CustomLFS version pinning 2026-05-06 23:53:35 +10:00
Liam Cottle d6cedb4fa6 Merge pull request #925 from mtlynch/unit-tests
Add unit tests for Utils::toHex
2026-05-01 14:49:45 +12:00
liamcottle a294b127ab add comments 2026-04-30 21:36:04 +12:00
taco 47e6f2e22c use internal fork of Adafruit nRF52 Arduino 2026-04-28 21:46:14 +10:00
taco f036f7d74c revert bluefruit patch
in preparation to switch to using our own fork of Adafruit NRF52 Arduino with the patch included
2026-04-28 21:39:34 +10:00
Rastislav Vysoky 0ce4f52324 replace all intendation tabs to spaces in pio ini files 2026-04-28 12:37:30 +02:00
Michael Lynch 802a53b7b0 Update googletest to use 1.17.0 exactly
With the '^x.y.z' semantics, the version can upgrade out from under us and change dependencies, so this pins to an exact version.
2026-04-24 16:17:23 -04:00