Commit Graph
8439 Commits
Author SHA1 Message Date
40b3dbaa70 Add MAX17048 lipo fuel gauge (#4851)
* Initial commit

* Update MAX17048Sensor.cpp

* Update EnvironmentTelemetry.cpp

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-25 05:34:53 -05:00
Jonathan BennettandGitHub 1129c92974 Add a second delay() to get the unit tests running on Rak4631 (#4862) 2024-09-25 05:31:29 -05:00
1293c5cdd4 Support for Seeed XIAO S3 Board (#4850)
* feat: add seeed-xiao-s3 board defination and pins defination

* chore:  add SEEED XIAO S3 into mesh pb

* fix: fix trunk fmt check failed

* Trunk fmt variant.h

* Restore automatically generated file

---------

Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-25 18:27:14 +08:00
Thomas GöttgensandGitHub bebd2bb9e0 Merge pull request #4863 from meshtastic/create-pull-request/patch
Update protobufs and classes
2024-09-25 10:29:27 +02:00
caveman99andgithub-actions[bot] f73aa8aa82 [create-pull-request] automated change 2024-09-25 08:28:33 +00:00
Ben Meadors c50df710ba Also put this back 2024-09-24 20:12:42 -05:00
Thomas GöttgensandGitHub 65104d5d8c fix #4844 (#4859) 2024-09-24 16:51:07 -05:00
Ben Meadors 10c51d8a05 Put this back 2024-09-24 15:44:16 -05:00
Ben Meadors 453b3a59b2 python3 ref 2024-09-24 15:24:08 -05:00
Ben Meadors 67fd4b64af Actual ref 2024-09-24 15:20:05 -05:00
Ben Meadors 1d0013918b master ref 2024-09-24 15:15:55 -05:00
Ben Meadors cac640ea97 Meshtestic submodule update 2024-09-24 14:57:20 -05:00
Ben MeadorsandGitHub e7569838c7 Bin path 2024-09-24 14:32:20 -05:00
Ben MeadorsandGitHub 64b2bf5f93 Checkout should handle this but oh well 2024-09-24 14:18:19 -05:00
Ben MeadorsandGitHub d6a008500a Who chose that ridiculous name anyway?! 2024-09-24 14:05:12 -05:00
Ben MeadorsandGitHub a9d636c025 Consolidate commands 2024-09-24 14:02:12 -05:00
Ben MeadorsandGitHub 292027f40f Setup node 2024-09-24 13:57:53 -05:00
Ben MeadorsandGitHub 3c126212d5 PIO script 2024-09-24 13:45:02 -05:00
Ben MeadorsandGitHub 9710ac79d3 Pipargs 2024-09-24 13:37:40 -05:00
Ben MeadorsandGitHub f2801a660b Update tests.yml 2024-09-24 13:33:51 -05:00
Ben MeadorsandGitHub 4d269501dd No args 2024-09-24 13:30:26 -05:00
Ben MeadorsandGitHub 752192b09a pipx 2024-09-24 13:27:13 -05:00
Ben MeadorsandGitHub f8f9329529 pip3 2024-09-24 13:16:24 -05:00
c3e53d916d [create-pull-request] automated change (#4858)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-24 13:04:52 -05:00
Ben MeadorsandGitHub c679932248 Setup python 2024-09-24 12:58:41 -05:00
Ben MeadorsandGitHub 5488c8f579 Got the runner labels backwards 2024-09-24 12:54:04 -05:00
Ben MeadorsandGitHub 6c488fe816 Ony run on test runner label 2024-09-24 12:43:39 -05:00
Ben Meadors 771cb52616 Remove amd64 2024-09-24 10:52:46 -05:00
Ben Meadors 10869ea10a Don't wait for after-checks 2024-09-24 09:10:29 -05:00
Ben Meadors e4d0e38f37 Remove native and add v4 back 2024-09-24 08:25:25 -05:00
Ben Meadors d7badcc9cb Don't run checks on workflow_dispatch 2024-09-24 07:17:38 -05:00
Ben Meadors 4fbf666cd9 Try v3 2024-09-24 07:12:43 -05:00
Tom FifieldandGitHub adb094ebc9 Remove old comments from main (#4849)
These comments were circa 4 years old. Remove them.
2024-09-24 06:08:32 -05:00
b709d47832 Fix Ublox M10 Setup (#4842)
There is no EXTINT pin available on the Tdeck, which uses
the Ublox M10 GPS. Therefore our previous hack to use that pin
makes the GPS not work. That workaround was implemented to
fix sleep issues which have now since been fixed with the
state machine.

This patch restores the state prior to the hack, which is
known-working.

Additionaly, it was discovered that M10s hate it when you
try and save to non-extistent eeprom/SPI flash.

This patch creates a new SAVE command for the M10 that fixes
this issue.

Many thanks to @MisterC925 whose report and testing was
essential for this fix.

fixes https://github.com/meshtastic/firmware/issues/4625

Co-authored-by: Ken McGuire <kenm@paonia.com>
2024-09-24 05:50:03 -05:00
Jason MurrayandGitHub 4fde1ca2a8 chomp trailing newline (#4848) 2024-09-24 16:27:46 +08:00
Jason MurrayandGitHub c72612d826 sed doesn't like newlines (#4847)
* sed doesn't like newlines

* fold remove-debug-flags block

* PATH is a system env var

* Runners don't like rm -f ${workspace path}
2024-09-24 15:41:40 +08:00
Tom FifieldandGitHub 682133501a Syntax fix for github action (#4846)
https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actions
2024-09-24 14:49:01 +08:00
Jason MurrayandGitHub b4c09ace23 Consolidate variant build steps (#4820)
* poc: consolidate variant build steps

* use build-variant action

* only checkout once and clean up after run

* checkout before local action
2024-09-24 13:47:31 +08:00
Jonathan BennettandGitHub c39d270f40 Build message in printBytes, to not spam BLE log (#4843) 2024-09-24 12:41:28 +08:00
Tom FifieldandGitHub 428a567078 Wire 1 is PIN_WIRE1_SDA (#4840)
Based on #4745, PIN_WIRE1_SDA is the 'second' wire interface.

This pach amends the check to determine whether a device has two
wire interfaces should use PIN_WIRE1_SDA, rather than PIN_WIRE_SDA.
2024-09-23 19:16:44 -05:00
Ben Meadors 0ad1f776ae Manually regen protos for now 2024-09-23 18:53:01 -05:00
Ben MeadorsandGitHub e78c706999 Fix RAK4631 accelerometer (#4837) 2024-09-23 18:40:54 -05:00
Ben Meadors c442cd7267 Remove some straggler now 2024-09-23 15:53:42 -05:00
Ben MeadorsandGitHub 9cbabb0468 Teardown bluetooth phoneAPI better and fix client notification issue (#4834)
* Teardown bluetooth phoneAPI better and fix client notification issue

* Fix client notification draining
2024-09-23 15:51:05 -05:00
Jonathan BennettandGitHub 9a7a4d3814 Check for null before printing debug (#4835) 2024-09-23 13:56:26 -05:00
fa1cc59841 Rename message length headers and set payload max to 255 (#4827)
* Rename message length headers and set payload max to 255

* Add MESHTASTIC_PKC_OVERHEAD

* compare to MESHTASTIC_HEADER_LENGTH

---------

Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-09-23 09:20:32 -05:00
e8829b8f52 Refactor and consolidate time window logic (#4826)
* Refactor and consolidate windowing logic

* Trunk

* Fixes

* More

* Fix braces and remove unused now variables.

There was a brace in src/mesh/RadioLibInterface.cpp that was breaking
compile on some architectures.

Additionally, there were some brace errors in
src/modules/Telemetry/AirQualityTelemetry.cpp
src/modules/Telemetry/EnvironmentTelemetry.cpp
src/mesh/wifi/WiFiAPClient.cpp

Move throttle include in WifiAPClient.cpp to top.

Add Default.h to sleep.cpp

rest of files just remove unused now variables.

* Remove a couple more meows

---------

Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-23 08:58:14 -05:00
Thomas GöttgensandGitHub 1afd61698b Merge pull request #4745 from todd-herbert/t114-i2c
I2C for Heltec Mesh Node T114
2024-09-23 15:45:35 +02:00
3ff9398b92 Revert "Update classes on protobufs update" (#4824)
* Revert "Update classes on protobufs update"

* remove quotes to fix trunk.

---------

Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-23 20:34:19 +08:00
Todd Herbert 76900555e8 Swap SDA and SCL
SDA=P0.16, SCL=P0.13
2024-09-24 00:25:43 +12:00