Commit Graph

10700 Commits

Author SHA1 Message Date
HarukiToreda
c8f3cbb0f9 Free Heap when not on Message screen 2025-10-15 03:06:59 -04:00
HarukiToreda
62eaabc940 More optimization 2025-10-15 01:57:51 -04:00
HarukiToreda
67c24c08cc Removing old left over code 2025-10-14 15:17:11 -04:00
HarukiToreda
4bd53500c6 Switch from dynamic std::string storage to fixed-size char[] 2025-10-14 14:14:28 -04:00
Jason P
6cd64cc228 Merge branch 'multi-message-Storage' of https://github.com/meshtastic/firmware into multi-message-Storage 2025-10-14 09:37:40 -05:00
Jason P
a05936f655 Revert only RangeTestModule.cpp change 2025-10-14 09:37:37 -05:00
HarukiToreda
aaf4a7e59e remove memory usage debug 2025-10-14 10:18:49 -04:00
Jason P
c180f23026 Implement Haruki's ClockRenderer and broadcast decomposeTime across various files. Attempt 2! 2025-10-14 08:09:12 -05:00
Jason P
ee3c7f2272 Revert "Implement Haruki's ClockRenderer and broadcast decomposeTime across various files."
This reverts commit 2f65721774.
2025-10-13 22:44:37 -05:00
Jason P
2f65721774 Implement Haruki's ClockRenderer and broadcast decomposeTime across various files. 2025-10-13 22:29:42 -05:00
Jason P
849a749b81 Fixup Waypoint screen with BaseUI code 2025-10-13 17:07:48 -05:00
HarukiToreda
214aa8b59d Trunk fix 2025-10-13 17:07:26 -04:00
HarukiToreda
8fb825e0e0 Waypoint cleanup 2025-10-13 16:57:42 -04:00
HarukiToreda
4ca56ec9cb Fn symbol code removed 2025-10-13 16:09:46 -04:00
HarukiToreda
3bb5a3341c More cleanup 2025-10-13 15:16:22 -04:00
HarukiToreda
7aa5b93895 Dimiss key combo function deprecated 2025-10-13 13:57:04 -04:00
Jason P
835f13031c
Merge branch 'develop' into multi-message-Storage 2025-10-13 12:51:43 -05:00
Jason P
37a0f774a2
Fix multitude of warnings during builds (#8331) 2025-10-13 12:51:27 -05:00
Jason P
5f8f3cf8be Fix another build error on occassion 2025-10-13 12:00:03 -05:00
Jason P
56656a4e6a
Merge branch 'develop' into multi-message-Storage 2025-10-13 11:11:31 -05:00
Markus
a71b47b5bb
rework sensor instantiation to saves memory by removing the static allocation (#8054)
Some checks are pending
CI / check (push) Blocked by required conditions
CI / build (push) Blocked by required conditions
CI / build-debian-src (push) Waiting to run
CI / package-pio-deps-native-tft (push) Waiting to run
CI / test-native (push) Waiting to run
CI / docker (alpine, native, linux/amd64) (push) Waiting to run
CI / docker (alpine, native, linux/arm64) (push) Waiting to run
CI / docker (alpine, native-tft, linux/amd64) (push) Waiting to run
CI / docker (debian, native, linux/amd64) (push) Waiting to run
CI / docker (debian, native, linux/arm/v7) (push) Waiting to run
CI / docker (debian, native, linux/arm64) (push) Waiting to run
CI / docker (debian, native-tft, linux/amd64) (push) Waiting to run
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (rp2350) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (rp2350) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
CI / publish-firmware (push) Blocked by required conditions
* rework I2C sensor init

the goal is to only instantiate sensors that are pressend to save memory.
side effacts:
 - easyer sensor integration (less C&P code)
 - nodeTelemetrySensorsMap can be removed when all devices are migrated

* add missing ifdef

* refactor a bunch of more sensors

RAM -816
Flash -916

* fix build for t1000

* refactor more sensors

RAM -192
Flash -60

* improve error handling

Flash -112

* fix build

* fix build

* fix IndicatorSensor

* fix tracker-t1000-e build

not sure what magic is used but it works

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/modules/Telemetry/Sensor/DFRobotGravitySensor.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-13 11:09:33 -05:00
Jason P
2f53f3f1dc Remove unused dismissNewestMessage 2025-10-13 11:03:16 -05:00
Jason P
8611175628 Remove used getConversationWith 2025-10-13 11:01:48 -05:00
Steven Wu
9df5aa8c70
Fix can not detect battery status while using INA226 (#8330)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-10-13 08:15:21 -05:00
Tom Fifield
130833b5be
Fix erroneous limiting of power in Ham Mode (#8322)
Ham Mode ignores region regulatory limits, so regardless of whether
we set a single TX_GAIN_LORA or an array with a non-linear PA,
we shouldn't limit the power.

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-10-13 07:50:57 -05:00
Jason P
b0c0faa075
Merge branch 'develop' into multi-message-Storage 2025-10-13 07:00:21 -05:00
Dirk Mueller
fe6509a0f2
Avoid exceeding allocated buffers when doing MQTT proxying (#8320)
the topic length could be longer than 65 characters. similarly for the
payload.

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-10-13 06:57:21 -05:00
Clive Blackledge
fcaa168d2d
Ble reconnect prefetch bug fix, plus some speed enhancements (#8324)
* Fixing bluetooth reconnects and adding performance

* Added comments
2025-10-13 06:32:05 -05:00
HarukiToreda
f35f72edb1 More cleanup 2025-10-13 03:21:37 -04:00
HarukiToreda
0b11f93880 more fixes 2025-10-12 22:36:15 -04:00
Jason P
e38925834d Optimize Hi Rez Chirpy to save space 2025-10-12 19:43:14 -05:00
HarukiToreda
551086324b Trunk fixes 2025-10-12 16:34:59 -04:00
HarukiToreda
50a65a1393 cleanup to get more space 2025-10-12 16:24:40 -04:00
Jason P
65dcd8254e Missed a comma in merge conflicts 2025-10-12 08:28:45 -05:00
Jason P
f9e31558d1
Merge branch 'develop' into multi-message-Storage 2025-10-12 08:27:32 -05:00
l0g-lab
7537d28419
Nodelist: choice of long or short name (#7926)
Some checks are pending
CI / check (push) Blocked by required conditions
CI / build (push) Blocked by required conditions
CI / build-debian-src (push) Waiting to run
CI / package-pio-deps-native-tft (push) Waiting to run
CI / test-native (push) Waiting to run
CI / docker (alpine, native, linux/amd64) (push) Waiting to run
CI / docker (alpine, native, linux/arm64) (push) Waiting to run
CI / docker (alpine, native-tft, linux/amd64) (push) Waiting to run
CI / docker (debian, native, linux/amd64) (push) Waiting to run
CI / docker (debian, native, linux/arm/v7) (push) Waiting to run
CI / docker (debian, native, linux/arm64) (push) Waiting to run
CI / docker (debian, native-tft, linux/amd64) (push) Waiting to run
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (rp2350) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (rp2350) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
CI / publish-firmware (push) Blocked by required conditions
* update to use long names for pager

* remove duplicate

* add menu item

* fix after conflict

* menu name change. use sanitizeString

* fix formatting issue. should pass trunk now.

* remove auto-generated protobufs

* remove log, add tdeck, improvements.

---------

Co-authored-by: l0g-lab <l0g-lab@users.noreply.github.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-10-12 08:25:15 -05:00
Jason P
6dfaf23baf Update channel mute for adjusted protobuf 2025-10-12 08:04:01 -05:00
Jason P
544331d367
Merge branch 'develop' into multi-message-Storage 2025-10-12 07:49:53 -05:00
Ben Meadors
26f25069dd Merge branch 'master' into develop 2025-10-12 07:46:09 -05:00
renovate[bot]
5eeffdb290
chore(deps): update meshtastic/device-ui digest to 3fb7c0e (#8291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-12 07:44:54 -05:00
Ben Meadors
5d71776527
Merge pull request #8317 from meshtastic/master
Master backmerge
2025-10-12 07:41:04 -05:00
Ben Meadors
661e596dbb
Fix muted channel compile errors after protobuf move (#8316) 2025-10-12 07:39:23 -05:00
Ben Meadors
a6732682de
Opt in to telemetry going forward (#8059) 2025-10-12 06:30:17 -05:00
Jason P
f0126d44e2
More BaseUI Frame Visibility Toggles (#8252)
* Add Power and Environmental Telemetry Hide/Show

* Allow Power and Telemetry Frames even if module disabled

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2025-10-12 06:28:23 -05:00
Clive Blackledge
fb08e17c39
Increase bluetooth 5.0 PHY speed and MTU on esp32_s3 (#8261)
* Increase Bluetooth speed to 2MB, increase MTU

* Adding esp32c6

* trunk fmt..
2025-10-12 05:35:00 -05:00
Tom Fifield
11aff46af1
Remove T1000E GPS startup delay sequence (#8236)
8 months ago, when this was added to the code, the GPS probe code
was still a little flaky.

Particularly after #6114 and #6116 were added, reliability improved
for all devices as we were sending fewer calls on the bus.

Today, the T1000E is the only Meshtastic device that regularly takes
2, 3, or 4 attempts to be detected via the probe code.

Removing these lines, on my T1000E, results in the AG3335 being
detected immediately.

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2025-10-12 05:34:34 -05:00
github-actions[bot]
cb11e6b720
Update protobufs (#8305)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2025-10-12 05:34:00 -05:00
Jonathan Bennett
464663b496
GPS_POWER_TOGGLE no longer has a function, so purge (#8312) 2025-10-12 05:33:34 -05:00
Jason P
5e5a449226
Merge branch 'develop' into multi-message-Storage 2025-10-11 16:10:25 -05:00
Austin
981d058e9f
Actions: CI docker with a fancy matrix (#8253) 2025-10-11 15:56:59 -05:00