The official firmware for Meshtastic, an open-source, off-grid mesh communication system.
  • C++ 74.2%
  • C 21.2%
  • Python 2.5%
  • Shell 1.5%
  • Batchfile 0.2%
  • Other 0.2%
Find a file
Manuel d0f4096788
Thinknode M5: fix GPS version detection + device switch off at 3.3V (#12424)
* set battery curve 4.20V - 3.3V

* fix GPS version detection scenarios

* ThinkNode M5: let the AG3352 settle before cutting its core rail

The AG3352 acks $PAIR650 before it has actually entered software-RTC
sleep. The soft-RTC path returned on the ack and setPowerState() then
dropped the 0.8 V core enable straight away, leaving the receiver in a
state that drew about 3 mA from the always-on 1.8 V rail through deep
sleep. Whether it leaked depended on how much happened to run between
the ack and the core cut, which is why the shutdown current alternated
between the low and the high plateau.

Wait AIROHA_SLEEP_SETTLE_MS after the ack, as the idle-int path already
does, and share the constant between both paths.

ThinkNode M5 v2.0, battery-less, shutdown via API, USB-side FNB58:
before 7.67-7.89 mA, after 4.79-4.81 mA in three independent shutdowns
(the CH340 bridge accounts for about 1.8 mA of the USB reading).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-22 20:23:51 +00:00
.claude Extract mcp-server to its own repo (meshtastic/meshtastic-mcp) (#10861) 2026-07-02 14:33:04 -05:00
.clusterfuzzlite lint: fix stale trivy rule codes in clusterfuzzlite Dockerfile (#11165) 2026-07-24 07:45:06 +00:00
.devcontainer Add native Portduino mDNS discovery with Avahi and Bonjour (#12032) 2026-10-12 18:56:28 +00:00
.github Generate the sensitive-field registry from field_metadata (#12382) 2026-11-21 16:42:00 +00:00
.trunk Upgrade trunk (#12080) 2026-10-22 11:17:05 +00:00
.vscode VSCode: Prepare for pioarduino transition (#10471) 2026-05-13 09:25:11 -05:00
bin Generate the sensitive-field registry from field_metadata (#12382) 2026-11-21 16:42:00 +00:00
boards [hardware-support] - Add MakerDiary Connect Kit nRF54L15 variant (LR1121 + WeAct 4.2" E-Ink) (#12235) 2026-11-20 08:29:24 +00:00
branding spelling fixes in .md files (#9810) 2026-03-05 08:54:57 +11:00
data/static Bundle WebUI (#878) 2021-10-09 17:15:12 +11:00
debian Automated version bumps (#12275) 2026-11-02 12:32:54 -06:00
extra_scripts fix(esp32): keep the HybridCompile pass out of the variant directory (#12366) 2026-11-14 15:58:52 +00:00
images No idea why trunk wants to disturb these PNGs but... 2024-10-08 05:34:41 -05:00
meshtestic@dcac7e5673 python3 ref 2024-09-24 15:24:08 -05:00
monitor lint: drop redundant bandit ignores in c3 exception decoder (#11173) 2026-07-26 05:32:05 +00:00
packaging/windows Package meshtasticd for Windows as an MSI (#11289) 2026-07-31 04:53:52 +00:00
protobufs@62b09edf40 Update protobufs (#12410) 2026-11-17 17:11:39 +00:00
release Cleans up visibility in GPS.h (#5426) 2024-11-23 06:10:09 -06:00
scripts lint: hoist stdlib imports above Import(env) in add_mbedtls_sources (#11172) 2026-07-26 05:32:54 +00:00
src Thinknode M5: fix GPS version detection + device switch off at 3.3V (#12424) 2026-11-22 20:23:51 +00:00
test Match message wrap width to where lines are drawn (#12428) 2026-11-21 14:08:11 +00:00
tools emdashes begone (#10847) 2026-07-01 19:01:27 -05:00
variants Thinknode M5: fix GPS version detection + device switch off at 3.3V (#12424) 2026-11-22 20:23:51 +00:00
.coderabbit.yaml docs(agents): exempt test headers from the two-line comment limit (#11742) 2026-09-09 01:56:22 +00:00
.dockerignore Initial commit of a fuzzer for Meshtastic (#5790) 2025-01-16 18:42:21 -06:00
.env.example meshtasticd-docker: simplify, add USB compose (#5662) 2024-12-26 12:59:26 -06:00
.envrc Add initial Nix shell (#8530) 2026-01-29 10:06:58 -06:00
.gitattributes update gitattributes for windows (#6289) 2025-03-11 13:05:51 -05:00
.gitignore Add MEDIUM_TURBO modem preset (#10988) 2026-07-11 08:24:35 -05:00
.gitmodules Consume device-ui as a pio library (#6193) 2025-03-05 16:19:59 -06:00
.mcp.json Extract mcp-server to its own repo (meshtastic/meshtastic-mcp) (#10861) 2026-07-02 14:33:04 -05:00
.semgrepignore Actions: exclude mutable action tag rule from Semgrep scans (#11944) 2026-09-21 19:09:28 +00:00
AGENTS.md feat(portduino): admin keys in config.yaml, beyond the protobuf's three (#12056) 2026-10-03 03:19:01 +00:00
alpine.Dockerfile Add native Portduino mDNS discovery with Avahi and Bonjour (#12032) 2026-10-12 18:56:28 +00:00
CLAUDE.md test(harness): make run-tests.sh drivable by a caller that cannot see the terminal (#11862) 2026-09-22 11:10:53 +00:00
CODE_OF_CONDUCT.md Trunk 2024-11-28 06:26:51 -06:00
CONTRIBUTING.md lol of course trunk fmt 2024-09-04 15:33:28 -07:00
default_8MB.csv ESP32: Migrate to Arduino 3.x (pioarduino) (#9122) 2026-05-17 18:53:32 -05:00
default_16MB.csv ESP32: Migrate to Arduino 3.x (pioarduino) (#9122) 2026-05-17 18:53:32 -05:00
docker-compose.yml Add native Portduino mDNS discovery with Avahi and Bonjour (#12032) 2026-10-12 18:56:28 +00:00
Dockerfile Add native Portduino mDNS discovery with Avahi and Bonjour (#12032) 2026-10-12 18:56:28 +00:00
Dockerfile.test Add native Portduino mDNS discovery with Avahi and Bonjour (#12032) 2026-10-12 18:56:28 +00:00
flake.lock Add initial Nix shell (#8530) 2026-01-29 10:06:58 -06:00
flake.nix Add initial Nix shell (#8530) 2026-01-29 10:06:58 -06:00
LICENSE move my bt experiment into its own repo (about to remove ttn) 2020-02-01 08:30:53 -08:00
meshtasticd.spec.rpkg Add native Portduino mDNS discovery with Avahi and Bonjour (#12032) 2026-10-12 18:56:28 +00:00
partition-table-8MB.csv reorganize 8MB partition for MUI devices (#7860) 2025-09-08 05:56:47 -05:00
partition-table-t3s3.csv Give the 4MB T3-S3 boards an app partition that fits (#10978) 2026-07-10 10:18:09 -05:00
partition-table.csv - new Bootloader for ESP-IDF 4.2 2022-09-26 22:42:58 +02:00
platformio.ini Update meshtastic/device-ui digest to fb3c069 (#12445) 2026-11-21 02:15:21 +00:00
pyocd.yaml Add semihosting support for nrf52 devices (#4137) 2024-06-24 10:27:37 -05:00
README.md README: Add Membrowse badge (#12057) 2026-10-03 22:43:30 +00:00
renovate.json Renovate: rebase PRs only when conflicted (#12263) 2026-10-31 09:05:45 -05:00
rpkg.conf rpkg Fedora packaging (#5735) 2025-01-13 12:24:05 +08:00
SECURITY.md Update supported versions in SECURITY.md 2026-09-02 09:02:30 +02:00
shell.nix Add initial Nix shell (#8530) 2026-01-29 10:06:58 -06:00
suppressions.txt fix(ci): unbreak the ESP32 static analysis gate after the cppcheck 2.20 jump (#11777) 2026-09-08 23:52:54 +00:00
userPrefs.jsonc feat(beacon): per-target and offered frequency slots (#12126) 2026-10-24 18:41:20 +00:00
version.properties Automated version bumps (#12275) 2026-11-02 12:32:54 -06:00

Meshtastic Logo

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel MemBrowse

meshtastic%2Ffirmware | Trendshift

Overview

This repository contains the official device firmware for Meshtastic, an open-source LoRa mesh networking project designed for long-range, low-power communication without relying on internet or cellular infrastructure. The firmware supports various hardware platforms, including ESP32, nRF52, RP2040/RP2350, and Linux-based devices.

Meshtastic enables text messaging, location sharing, and telemetry over a decentralized mesh network, making it ideal for outdoor adventures, emergency preparedness, and remote operations.

Get Started

Join our community and help improve Meshtastic! 🚀

Stats

Alt