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
Jason Murray
1bff6bfb8b
feat: trigger class update when protobufs are changed
2024-09-23 22:40:07 +02:00
Thomas Göttgens
9e99fdab9f
heltec-wireless-bridge
...
requires Proto PR first
2024-09-23 22:40:07 +02:00
thebentern
2a06106ac0
[create-pull-request] automated change
2024-09-23 22:40:07 +02:00
todd-herbert
c6e71f2e72
Re-order doDeepSleep ( #4802 )
...
Make sure PMU sleep takes place before I2C ends
2024-09-23 22:40:07 +02:00
Thomas Göttgens
6377f0e1b4
Raspberry Pico2 - needs protos
2024-09-23 22:40:07 +02:00
dependabot[bot]
b06238f9d9
Bump pnpm/action-setup from 2 to 4 in /.github/workflows ( #4798 )
...
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup ) from 2 to 4.
- [Release notes](https://github.com/pnpm/action-setup/releases )
- [Commits](https://github.com/pnpm/action-setup/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: pnpm/action-setup
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 22:40:07 +02:00
github-actions[bot]
9f64adf604
[create-pull-request] automated change ( #4789 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-23 22:40:07 +02:00
dependabot[bot]
d3cb80872f
Bump meshtestic from 31ee3d9
to 37245b3
( #4799 )
...
Bumps [meshtestic](https://github.com/meshtastic/meshTestic ) from `31ee3d9` to `37245b3`.
- [Commits](31ee3d90c8...37245b3d61
)
---
updated-dependencies:
- dependency-name: meshtestic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 22:40:07 +02:00
Tom Fifield
0617f33eec
Actions: Semgrep Images have moved from returntocorp to semgrep ( #4774 )
...
https://hub.docker.com/r/returntocorp/semgrep notes: "We've moved!
Official Docker images for Semgrep now available at semgrep/semgrep."
Patch updates our CI workflow for these images.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-23 22:40:07 +02:00
dependabot[bot]
e15d40aa99
Bump docker/build-push-action from 5 to 6 in /.github/workflows ( #4800 )
2024-09-23 22:40:07 +02:00
dependabot[bot]
0d9fdecdd1
Bump peter-evans/create-pull-request from 6 to 7 in /.github/workflows ( #4797 )
2024-09-23 22:40:07 +02:00
Tom Fifield
d13755bdb2
fix dependabot syntax ( #4795 )
...
* fix dependabot syntax
* Update dependabot.yml
* Update dependabot.yml
2024-09-23 22:40:07 +02:00
Jason Murray
b6d63eb0b5
chore: trunk fmt
2024-09-23 22:40:07 +02:00
Jason Murray
a2a68ce517
Enable Dependabot
2024-09-23 22:40:07 +02:00
Jason Murray
81ec117dbb
set title for version bump PR ( #4791 )
2024-09-23 22:40:07 +02:00
Jason Murray
75eda8f14f
set title for protobufs bump PR ( #4792 )
2024-09-23 22:40:07 +02:00
Ben Meadors
a84ec50e9b
Download debian files after firmware zip
2024-09-23 22:40:07 +02:00
todd-herbert
29442c599d
Honor flip & color for Heltec T114 and T190 ( #4786 )
...
* Honor TFT_MESH color if defined for Heltec T114 or T190
* Temporary: point lib_deps at fork of Heltec's ST7789 library
For demo only, until ST7789 is merged
* Update lib_deps; tidy preprocessor logic
2024-09-23 22:40:07 +02:00
Ben Meadors
f625e8c837
Additional decoded packet ignores
2024-09-23 22:40:07 +02:00
Ben Meadors
94e882c827
Drop received packets from self
2024-09-23 22:40:07 +02:00
mverch67
307c44feac
lib update: try-fix audio
2024-09-23 22:00:35 +02:00
mverch67
45b173abb3
prepare LVGL ST7789 driver
2024-09-23 22:00:10 +02:00
Manuel
a034c95a34
Merge branch 'master' into tft-gui-work
2024-09-20 13:23:39 +02:00
mverch67
30890094c4
lower tft task prio
2024-09-20 12:51:11 +02:00
Jonathan Bennett
0f3450ad44
Mark package workflows for gh hosted runners
2024-09-19 18:21:30 -05:00
Jonathan Bennett
114df8cb1b
Pin sensorlib version
2024-09-19 13:29:17 -05:00
Jonathan Bennett
d3a293a0d8
Flag semgrep to not run on self-hosted
...
The semgrep action runs inside a docker container, and docker in podman just doesn't work.
2024-09-19 12:10:39 -05:00
Ben Meadors
91b4199f9d
Revert "DetectionSensor: broadcast all state changes" ( #4776 )
2024-09-19 10:46:18 -05:00
Tom Fifield
6473cf0b69
Update RadioLib to 7.0.0 ( #4771 )
...
We were not too many commits behind, and the changes since then
were either for LoraWAN or useful minor bug fixes for SX1280.
2024-09-19 06:48:22 -05:00
mverch67
1ff5c867b2
use custom touch driver for Indicator
2024-09-19 12:26:20 +02:00
Tom Fifield
84e197574b
Merge pull request #4773 from markbirss/master
...
Update HW_VENDOR
2024-09-19 16:28:40 +08:00
Mark Trevor Birss
5c4c0965af
Update nordic_pca10059.json
2024-09-19 15:41:59 +08:00
Mark Trevor Birss
7289b295e8
Update me25ls01-4y10td.json
2024-09-19 15:41:59 +08:00