Commit Graph
275 Commits
Author SHA1 Message Date
mikecarper 08b1c8826c Save RAK repeater flash while retaining fast field arithmetic
Use compact scalar crypto, reviewed GNSS version parsing and shared CLI reply copies for RAK3401/RAK4631 repeaters. Preserve keys, protocols, commands and configured capacities.

Both Reduced images save 11,580 bytes. SWD measurements on the RAK3401 found scalar-only signing still near 50.9 ms and key exchange near 38 ms. Keep compact field arithmetic off: its extra 4.3 KiB saving adds about a quarter second and delays radio servicing.

Validate Full and Reduced production OTA packages on both boards, focused crypto/GPS/CLI tests, and linked ARM crypto outputs. Include the RAM benchmark harness and scoped results. No live RF packet-loss qualification is claimed.
2026-10-27 11:41:32 -07:00
mikecarper 308fec1162 Keep only local OTA target names in reduced RAK builds 2026-10-27 10:45:24 -07:00
mikecarper c650278fa7 Share constrained STM32 code while preserving firmware features
Omit unbound forwarding-region callbacks only for exclusive Companion source roles. Reuse the compact neighbor sorter in repeaters for every RPC order and the CLI list, removing duplicate sort implementations while preserving storage and size gates.
2026-10-27 08:17:23 -07:00
mikecarper 2b55ff6a62 Recover RAK RAM without reducing OTA or sensor capacities
Cache each validated OTA descriptor field once and size manifest reassembly to the admitted wire format. Compile reviewed read-only VL53L0X tuning data in flash through a private dependency copy, retaining the original implementation for unknown revisions.
2026-10-27 08:17:23 -07:00
mikecarper d1a2fd74ba Protect MQTT publishing headroom and credit replies before disconnect 2026-10-26 23:48:23 -07:00
mikecarper 7d413a6806 Fit direct OTA administration into RAK4631 Full 2026-10-26 23:41:20 -07:00
mikecarper b4bec19e88 Fit Nordic Full KISS with lossless assets and firmware lifetime trimming 2026-10-26 18:21:18 -07:00
mikecarper ec4aba8a1c Reserve Full host KISS codec RAM without reducing existing budgets 2026-10-26 17:53:39 -07:00
mikecarper 1aef6de288 Reserve USB KISS framing before normal parsers consume it 2026-10-26 17:49:20 -07:00
mikecarper b00d346df7 Unify Heltec V4 OLED, TFT and headless display selection
Detect OLED or the original stock TFT touch assembly in ordinary V4.2/V4.3
images. Add saved live display.type auto/oled/tft/off selection and report
the active selection in board output. Keep sensors on primary I2C, preserve
shared power, and isolate TFT FSPI from radio HSPI through sleep and changes.

Consolidate future picker/build choices only with application capability
proof. Retain exact legacy OTA identities and separate R8 hardware images.
Document controls and physical qualification limits.

Validation: five serialized Full builds with capability/size/RAM checks;
focused host tests, existing R8/T-Deck/OLED regressions, build-profile suite,
and picker/provider tests. V4.3 OLED live changes and off/auto reboot
persistence passed on Mercerwood. Physical TFT qualification remains pending.
2026-10-26 15:19:17 -07:00
mikecarper da08008893 Clarify 1.18.0.1 changes and firmware download choices 2026-10-24 18:41:29 -07:00
mikecarper ec478c30ed Publish 1.18.0.1 release catalogs and bootloader picker choices 2026-10-24 13:58:25 -07:00
mikecarper 21194b9825 Fix compile and capacity blockers in the full release matrix
Resolve Serial macro and ESP-NOW wrapper compilation errors. Preserve queue, neighbor, advert-history and Room post capacities while using qualified RTC, PSRAM and word-only IRAM storage on constrained ESP32 targets. Reduce Full infrastructure flash through lossless Room web compression, compact crypto and unused exception metadata removal.

Add focused native regressions for storage ownership, exact protocol output, OTA proofs and build policy. Keep physical flash sizes, OTA slots and RAM guard formulas unchanged.
2026-10-24 05:38:23 -07:00
mikecarper 0d93f73837 Include OTAFIX bootloader variants in complete release builds 2026-10-23 22:04:20 -07:00
mikecarper 3226e208bf Automatically check embedded bootloader after 70 seconds with reboot protection 2026-10-23 17:34:57 -07:00
mikecarper 881d8e58a5 Simplify embedded bootloader updates and skip current versions 2026-10-23 17:16:32 -07:00
mikecarper d808d964d2 Add nRF52 Repeater and Room variants with embedded OTAFIX 2.4.12 2026-10-23 16:36:18 -07:00
mikecarper 73789a64e8 Pack STM32WL Companion help while retaining every command 2026-10-23 11:25:33 -07:00
mikecarper b6efdbdb27 Bind the help language standard to its SCons object 2026-10-23 09:47:39 -07:00
mikecarper 28aeea4c96 Defer packed help board selection to the effective C++ profile 2026-10-23 09:44:10 -07:00
mikecarper 1ccd0db9b0 Register the RAK help source before late Full profile flags 2026-10-23 09:43:13 -07:00
mikecarper 8f621cbb3f Isolate RAK help packing from the firmware C++11 build 2026-10-23 09:40:00 -07:00
mikecarper 61a536c686 Add gated Tag and MeshTower buffered SPIM1 qualification paths 2026-10-23 08:07:01 -07:00
mikecarper aa480ae79e Observe shared TWI0 IRQ in nRF radio timing captures 2026-10-23 04:08:05 -07:00
mikecarper 286f3f730d Resolve HIL flag helper from project root in SCons context 2026-10-23 03:38:19 -07:00
mikecarper 7a6a118775 Bind HIL IRQ observers through private nRF framework copies 2026-10-23 03:35:54 -07:00
mikecarper adb11e7b41 Qualify RAK repeater RAM and retire stale channel-busy waits 2026-10-22 22:59:23 -07:00
mikecarper f4ade738df Add packed noise-floor telemetry history for both radio profiles 2026-10-22 16:50:31 -07:00
mikecarper 5e25faa3d0 Add station-only WiFi UDP bridge with eight authenticated peers 2026-10-22 12:20:43 -07:00
mikecarper 1d4016f483 Fit Heltec V2 BLE with bounded contact caching 2026-10-22 08:18:26 -07:00
mikecarper 5d31a839c5 Add MeshPocket message board and worldwide map 2026-10-21 23:57:14 -07:00
mikecarper c33bbaf8f2 Fix NimBLE queued timer crash when stopping Bluetooth 2026-10-21 22:12:03 -07:00
mikecarper 669107c3db Repair ESP32 3.3.11 BLE service cleanup in build-local SDK sources 2026-10-21 18:16:39 -07:00
mikecarper 9aa7974567 Enable SolarXiao Room Server power profiles and late-detection history 2026-10-21 17:02:01 -07:00
mikecarper 38f68596f7 Bound nRF52 repeater OTA proof memory and correct RAK3401 bridge GPS contract 2026-10-21 09:53:23 -07:00
mikecarper db1c4704e0 Fix firmware budget regressions and flood alias delimiters
Share nRF52 checked-record reads and command-family lookups without changing
storage formats, error protection, fleet authorization, or delegated scopes.
Use the existing bounded Merkle proof workspace for qualified ESP32 repeaters
while retaining source capacity, wire format, and every enabled feature.
Restore advert tab/CRLF delimiters and expose nested qualification build logs.

Validation: all 1932 native CI test cases; exact canonical RAK4631 Full,
Wio-E5 Mini, Station G3 Full MQTT, and Wireless Tracker Full wrappers;
linked RAK crypto/workspace checks and retained Reader code equivalence;
focused persistence, authorization, source-proof, and RAM policy regressions.
2026-10-21 03:02:46 -07:00
mikecarper 953ad6defb Extend forwarding filters and save moderation rules atomically 2026-10-21 01:10:12 -07:00
mikecarper bc1176c7f4 Merge remote-tracking branch 'origin/keymindCascade' into keymindCascade 2026-10-20 10:42:48 -07:00
mikecarper d58bedd8ca fix(nrf52): align external QSPI DMA buffers 2026-10-20 10:35:07 -07:00
9d52b1fd68 Add saved LED controls across supported boards
Add get leds and set leds on|off for Companion, repeater, room server and
sensor builds. Preserve the setting across reboots and cover GPIO, RGB,
Bluetooth, notification and expander indicators without changing radio
amplifier controls or screen backlights.

RAK Companions blink while advertising and keep the Bluetooth LED off once
connected, including late timer callbacks.

Adapted from meshcore-dev/MeshCore#3605 and #2694.
Validated with host regressions and firmware builds for SenseCAP Solar,
RAK4631, T096, Heltec V4, T-Beam, Xiao S3, Pico W and Wio E5 Mini.

Co-authored-by: R0ck <develop@hectospark.co.uk>
Co-authored-by: Nick Dunklee <nick@dunklee.org>
2026-10-20 08:59:39 -07:00
mikecarper c9a142b580 Include live stack and advertising readbacks in BLE debug exports 2026-10-19 20:43:40 -07:00
mikecarper 55a77115fb Route nRF52 framework diagnostics through USB logging policy 2026-10-19 12:12:17 -07:00
mikecarper a3f858f6f0 Fit V3 Full with NimBLE and bounded OTA source proofs 2026-10-19 02:47:13 -07:00
mikecarper 0e70110640 Fix Bluefruit role dispatch after disconnect frees connection 2026-10-19 00:06:03 -07:00
mikecarper a43604c577 Check linked Reader text and stack use alongside crypto 2026-10-18 21:36:56 -07:00
mikecarper c4a1d485ff Add saved regulator modes and battery-gated crash recovery 2026-10-18 21:10:58 -07:00
mikecarper 5df3e4ae53 Verify RP2040 capabilities against matching UF2 application 2026-10-18 20:40:06 -07:00
mikecarper 9c78ccde57 Unify optional hardware variants and add runtime R8 TFT rotation 2026-10-18 20:25:13 -07:00
mikecarper 4f746d1e3b Detect manufacturer-supported optional screens on RC32, Tracker V1 and V4 R8 2026-10-18 18:55:38 -07:00
mikecarper b8f8a1fae1 Account for ST7789 framebuffer and scanline heap in firmware gates 2026-10-18 16:32:49 -07:00