Meshtastic device firmware
Go to file
geeksville 8bca3e168d
Add PowerMon support (#4155)
* Turn off vscode cmake prompt - we don't use cmake on meshtastic

* Add rak4631_dap variant for debugging with NanoDAP debug probe device.

* The rak device can also run freertos (which is underneath nrf52 arduino)

* Add semihosting support for nrf52840 devices
Initial platformio.ini file only supports rak4630
Default to non TCP for the semihosting log output for now...
Fixes https://github.com/meshtastic/firmware/issues/4135

* powermon WIP (for https://github.com/meshtastic/firmware/issues/4136 )

* oops - mean't to mark the _dbg variant as an 'extra' board.

* powermon wip

* Make serial port on wio-sdk-wm1110 board work
By disabling the (inaccessible) adafruit USB

* Instrument (radiolib only for now) lora for powermon
per https://github.com/meshtastic/firmware/issues/4136

* powermon gps support
https://github.com/meshtastic/firmware/issues/4136

* Add CPU deep and light sleep powermon states
https://github.com/meshtastic/firmware/issues/4136

* Change the board/swversion bootstring so it is a new "structured" log msg.

* powermon wip

* add example script for getting esp S3 debugging working
Not yet used but I didn't want these nasty tricks to get lost yet.

* Add PowerMon reporting for screen and bluetooth pwr.

* make power.powermon_enables config setting work.

* update to latest protobufs

* fix bogus shellcheck warning

* make powermon optional (but default enabled because tiny and no runtime impact)

* tell vscode, if formatting, use whatever our trunk formatter wants
without this flag if the user has set some other formatter (clang)
in their user level settings, it will be looking in the wrong directory
for the clang options (we want the options in .trunk/clang)

Note: formatOnSave is true in master, which means a bunch of our older
files are non compliant and if you edit them it will generate lots of
formatting related diffs.  I guess I'll start letting that happen with
my future commits ;-).

* add PowerStress module

* nrf52 arduino is built upon freertos, so let platformio debug it

* don't accidentally try to Segger ICE if we are using another ICE

* clean up RedirectablePrint::log so it doesn't have three very different implementations inline.

* remove NoopPrint - it is no longer needed

* when talking to API clients via serial, don't turn off log msgs instead encapsuate them

* fix the build - would loop forever if there were no files to send

* don't use Segger code if not talking to a Segger debugger

* when encapsulating logs, make sure the strings always has nul terminators

* nrf52 soft device will watchdog if you use ICE while BT on...
so have debugger disable bluetooth.

* Important to not print debug messages while writing to the toPhone scratch buffer

* don't include newlines if encapsulating log records as protobufs

* update to latest protobufs (needed for powermon goo)

* PowerStress WIP

* fix linter warning
2024-07-03 18:02:20 -05:00
.github exclude debs from release zip 2024-06-16 22:43:16 +02:00
.trunk more try more fix 2024-06-16 20:41:23 +02:00
.vscode tell vscode, if formatting, use whatever our trunk formatter wants (#4186) 2024-06-27 13:14:16 -05:00
arch Update NimBLE to 1.4.2 (#4163) 2024-06-22 08:49:55 -05:00
bin Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
boards Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
data/static Bundle WebUI (#878) 2021-10-09 17:15:12 +11:00
extra_scripts Don't complain about wierd platformio python 2024-06-20 12:28:43 -07:00
images remove hard to maintain system-info bootloader 2022-10-01 09:50:16 +02:00
monitor add rudimentary exception decoder for RISC-V CPU 2023-03-05 14:55:12 +01:00
protobufs@1198b7dbab [create-pull-request] automated change (#4218) 2024-07-01 06:29:44 -05:00
release don't keep uf2 files in source control 2020-08-21 09:37:41 -07:00
src Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
variants correct xiao_ble build preventing sx1262 init (#4191) 2024-06-28 06:49:38 -05:00
.gitattributes trunk roundhouse kick 2023-01-21 21:23:24 +01:00
.gitignore Native Webserver (#3343) 2024-03-06 16:23:04 -06:00
.gitmodules revert protobuf change to develop 2022-11-26 16:03:17 +01:00
.semgrepignore Ignore upstream defect 2022-11-20 16:14:32 +01:00
docker-compose.yml trunk roundhouse kick 2023-01-21 21:23:24 +01:00
Dockerfile Ensure data directory ownership is with mesh user (#4097) 2024-06-14 10:45:16 -05:00
LICENSE move my bt experiment into its own repo (about to remove ttn) 2020-02-01 08:30:53 -08:00
partition-table.csv - new Bootloader for ESP-IDF 4.2 2022-09-26 22:42:58 +02:00
platformio.ini enable colors in platformio serial monitor (#4217) 2024-06-30 16:01:28 -05:00
pyocd.yaml Add semihosting support for nrf52 devices (#4137) 2024-06-24 10:27:37 -05:00
README.md Update README.md 2023-10-09 22:30:02 +10:00
suppressions.txt Cpp-check warnings cleanup (#3014) 2023-12-14 07:35:46 -06:00
version.properties [create-pull-request] automated change (#4171) 2024-06-24 08:01:40 -05:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt