Commit Graph

9078 Commits

Author SHA1 Message Date
Ben Meadors
f8f9329529
pip3 2024-09-24 13:16:24 -05:00
github-actions[bot]
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 Meadors
c679932248
Setup python 2024-09-24 12:58:41 -05:00
Ben Meadors
5488c8f579
Got the runner labels backwards 2024-09-24 12:54:04 -05:00
Ben Meadors
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
Manuel
1d41469fca
Merge branch 'master' into tft-gui-work 2024-09-24 14:27:42 +02: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
mverch67
10b3de65ca lib update: fix neighbors 2024-09-24 14:08:47 +02:00
mverch67
a84276ccfa try-fix crash 2024-09-24 14:07:49 +02:00
Tom Fifield
adb094ebc9
Remove old comments from main (#4849)
These comments were circa 4 years old. Remove them.
2024-09-24 06:08:32 -05:00
Tom Fifield
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
Augusto Zanellato
01d42d4728
Merge branch 'master' into detsensor_broadcast_changes 2024-09-24 11:53:41 +02:00
Augusto Zanellato
ce480ae626
fix comment style 2024-09-24 11:16:04 +02:00
Augusto Zanellato
139686d639
bump protobufs 2024-09-24 11:11:16 +02:00
Jason Murray
4fde1ca2a8
chomp trailing newline (#4848) 2024-09-24 16:27:46 +08:00
Jason Murray
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 Fifield
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 Murray
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 Bennett
c39d270f40
Build message in printBytes, to not spam BLE log (#4843) 2024-09-24 12:41:28 +08:00
Tom Fifield
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 Meadors
e78c706999
Fix RAK4631 accelerometer (#4837) 2024-09-23 18:40:54 -05:00
mverch67
67f363b659 fix merge 2024-09-23 23:14:20 +02:00
Manuel
5aa5b4e0bb
Merge branch 'master' into tft-gui-work 2024-09-23 22:58:27 +02:00
Manuel
130b040003
Merge branch 'master' into tft-gui-work 2024-09-23 22:58:15 +02:00
Ben Meadors
c442cd7267 Remove some straggler now 2024-09-23 15:53:42 -05:00
Ben Meadors
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
mverch67
f6e9a67efa Merge branch 'master' into tft-gui-work 2024-09-23 22:40:31 +02:00
Jonathan Bennett
dfbd8dbe21 Check for null before printing debug (#4835) 2024-09-23 22:40:07 +02:00
Jonathan Bennett
d91cda94c1 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 22:40:07 +02:00
Ben Meadors
83bbffd6d8 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 22:40:07 +02:00
Todd Herbert
7dfe42defc Swap SDA and SCL
SDA=P0.16, SCL=P0.13
2024-09-23 22:40:07 +02:00
Todd Herbert
cceb2db707 Tidier macros 2024-09-23 22:40:07 +02:00
Todd Herbert
19c777dde6 Add I2C bus to Heltec T114 header pins
SDA: P0.13
SCL: P0.16

Uses bus 1, leaving bus 0 routed to the unpopulated footprint for the RTC (general future-proofing)
2024-09-23 22:40:07 +02:00
Todd Herbert
db2f2dd44d Implement optional second I2C bus for NRF52840
Enabled at compile-time if WIRE_INFERFACES_COUNT defined as 2
2024-09-23 22:40:07 +02:00
Jason Murray
7b84a21b55 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 22:40:07 +02:00
Tom Fifield
2cd41d9f15 Minor fix (#4666)
* Minor fixes

It turns out setting a map value with the index notation causes
an lookup that can be avoided with emplace. Apply this to one line in
the StoreForward module.

Fix also Cppcheck-determined highly minor performance increase by
passing gpiochipname as a const reference :)

The amount of cycles used on this laptop while learning about these
callouts from cppcheck is unlikely to ever be more than the cycles
saved by the fixes ;)

* Update PortduinoGlue.cpp
2024-09-23 22:40:07 +02:00
Jonathan Bennett
fe41abad73 Consider the LoRa header when checking packet length 2024-09-23 22:40:07 +02:00
Tom Fifield
cbaee64ce1 Make Ublox code more readable (#4727)
* Simplify Ublox code

Ublox comes in a myriad of versions and settings. Presently our
configuration code does a lot of branching based on versions being
or not being present.

This patch adds version detection earlier in the piece and branches
on the set gnssModel instead to create separate setup methods for Ublox 6,
Ublox 7/8/9, and Ublox10.

Additionally, adds a macro to make the code much shorter and more
readable.

* Make trunk happy

* Make trunk happy

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-23 22:40:07 +02:00
Tom Fifield
c356bec3ae Revert "Consolidate variant build steps (#4806)" (#4816)
This reverts commit 9f8d86cb25.
2024-09-23 22:40:07 +02:00
Jason Murray
1c3d477202 Consolidate variant build steps (#4806)
* poc: consolidate variant build steps

* use build-variant action

* only checkout once and clean up after run
2024-09-23 22:40:07 +02:00
Austin
de7a3f9cf8 [Board] DIY "t-energy-s3_e22" (#4782)
* New variant "t-energy-s3_e22"

- Lilygo T-Energy-S3
- NanoVHF "Mesh-v1.06-TTGO-T18" board
- Ebyte E22 Series

* add board_level = extra

* Update variant.h

---------

Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-23 22:40:07 +02:00
Ben Meadors
0e9c229100 CI fixes 2024-09-23 22:40:07 +02:00
Ben Meadors
8cee3a4971 Hopefully extract and commit to meshtastic.github.io 2024-09-23 22:40:07 +02:00
Jonathan Bennett
873def52ac Update platform-native to pick up portduino crash fix (#4807) 2024-09-23 22:40:07 +02:00
Jason Murray
4ee17bb922 meshtastic/ is a test suite; protobufs/ contains protobufs; 2024-09-23 22:40:07 +02:00