mirror of
https://github.com/meshtastic/firmware.git
synced 2026-11-07 06:44:33 -05:00
c77feed4a7cb700d2d64a745d4abffb693127490
The assert line alone can't tell an out-of-memory crash apart from heap corruption or a stack overflow, and for a failed operator new it always names alloc.cpp. - After the assert line, log the FreeRTOS task (the log's [thread] tag is the last OSThread to run), its stack high-water mark, free heap and the largest free block, or that the free list failed a bounds-checked walk. - A failed operator new logs the requested size and the caller's address first, for addr2line. - MemGet::getMaxAllocHeap() walks newlib-nano's free list on nRF52, so the periodic heap line reports the largest block there. That line no longer prints "min 0" where the minimum isn't tracked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
- 🔧 Building Instructions - Learn how to compile the firmware from source.
- ⚡ Flashing Instructions - Install or update the firmware on your device.
Join our community and help improve Meshtastic! 🚀
Stats
Languages
C++
73.5%
C
21.8%
Python
2.6%
Shell
1.5%
Batchfile
0.2%
Other
0.2%
