firmware/bin
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
..
build-esp32.sh avoid a couple of downloads and build seconds by building the littlefs for the current target instead of 'tbeam' 2023-03-09 09:00:59 +01:00
build-native.sh automatically propose to setup virtualenv if platformio is having issues in native build (#3923) 2024-05-19 07:25:05 -05:00
build-nrf52.sh Back out changes to non-source files 2023-01-21 21:23:24 +01:00
build-rpi2040.sh Back out changes to non-source files 2023-01-21 21:23:24 +01:00
buildinfo.py bin: remove unused import in buildinfo.py 2024-05-15 23:00:12 +02:00
bump_version.py chmod 2022-08-11 17:54:48 -05:00
check-all.sh Remove heltec-v1 2024-02-21 10:03:45 -06:00
check-dependencies.sh Remove heltec-v1 2024-02-21 10:03:45 -06:00
config-dist.yaml Implement chunked SPI transfer for ch341 (#3847) 2024-05-10 04:36:20 -05:00
device-install.bat Add unPhone to S3 build scripts (#3583) 2024-04-09 11:37:38 -05:00
device-install.sh Add unPhone to S3 build scripts (#3583) 2024-04-09 11:37:38 -05:00
device-update.bat update batch scripts to further check filename. 2022-11-26 17:00:33 +01:00
device-update.sh Back out changes to non-source files 2023-01-21 21:23:24 +01:00
dump-ram-users.sh Back out changes to non-source files 2023-01-21 21:23:24 +01:00
exception_decoder.py Update exception decoder for other platforms (#3070) 2024-01-09 19:45:03 -06:00
gen-images.sh Back out changes to non-source files 2023-01-21 21:23:24 +01:00
generate_ci_matrix.py Generate the build matrix from the variant files (#3870) 2024-05-12 22:43:47 +02:00
genpartitions.py Use /usr/bin/env in bash and python script shebangs 2022-01-07 02:53:33 -08:00
lilygo_techo_bootloader-0.6.1.zip LilyGo T-Echo Bootloader UF2 and ZIP packages (#3210) 2024-02-11 14:10:08 -06:00
Meshtastic_nRF52_factory_erase_v2.uf2 update to Meshtastic_nRF52_factory_erase_v2 (#3146) 2024-01-29 20:07:09 -06:00
meshtasticd.service Refactor display handling add Raspbian TFT display (#2998) 2023-12-12 20:27:31 -06:00
native-gdbserver.sh Use /usr/bin/env in bash and python script shebangs 2022-01-07 02:53:33 -08:00
native-install.sh replace arch with uname -m for arch linux (#3508) 2024-03-29 01:01:40 -05:00
native-run.sh Use /usr/bin/env in bash and python script shebangs 2022-01-07 02:53:33 -08:00
platformio-custom.py Fix original esp32 boot init panic (#3985) 2024-05-30 10:59:10 -05:00
promote-release.sh Back out changes to non-source files 2023-01-21 21:23:24 +01:00
read-system-info.sh Changed default baud to 115200 (#1517) 2022-06-15 11:44:37 -05:00
readprops.py Remove the dirty d 2023-01-28 14:50:07 -06:00
regen-protos.bat update to nanopb 0.4.8 and fix proto regen script (#3578) 2024-04-09 07:40:55 -05:00
regen-protos.sh update to nanopb 0.4.8 and fix proto regen script (#3578) 2024-04-09 07:40:55 -05:00
setup-python-for-esp-debug.sh Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
test-simulator.sh Back out changes to non-source files 2023-01-21 21:23:24 +01:00
uf2-convert.bat Adding batch script for generating uf2 files for NRF boards (#945) 2021-12-02 10:19:25 -06:00
uf2conv.py @BigCorvus board now kinda boots 2020-08-17 11:29:00 -07:00
update-lilygo_techo_bootloader-0.6.1_nosd.uf2 LilyGo T-Echo Bootloader UF2 and ZIP packages (#3210) 2024-02-11 14:10:08 -06:00
view-map.sh Use /usr/bin/env in bash and python script shebangs 2022-01-07 02:53:33 -08:00