Commit Graph

7307 Commits

Author SHA1 Message Date
mverch67
3f7f92c4db I2C keyboard crash workaround 2024-03-29 14:46:11 +01:00
Manuel
1a943931d7
Merge branch 'master' into tft-gui-work 2024-03-29 12:56:23 +01:00
Jorropo
3cf6c47bab
replace arch with uname -m for arch linux (#3508)
From the manpage:
> arch - print machine hardware name (same as uname -m)

Arch Linux does not have the `arch` alias, only `uname`, so use `uname` to fix this issue:
> ```
> ./bin/build-native.sh: line 18: arch: command not found
> ```

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-03-29 01:01:40 -05:00
Jonathan Bennett
64fd866494
Make native honor HAS_SCREEN 0 (#3509)
This allows easier building of the native target without the LovyanGFX libraries.
2024-03-29 00:03:19 -05:00
github-actions[bot]
7b391d1a9f
[create-pull-request] automated change (#3507)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-28 19:27:34 -05:00
todd-herbert
8187fa7115
E-Ink Screensaver (#3477)
* fix Wireless Paper double-clear screen at boot

* log when flooded with "responsive" frames

* show the "resuming" screen when waking from deep-sleep

* rename drawDeepSleepScreen
avoid future confusion with "Screen Paused" screen

* show a screensaver frame when screen off
The frame shown during deep sleep is now also passed through showScreensaverFrames()

* Add macros for E-Ink color values.
OLEDDISPLAY_COLOR is inverted. Result of light-mode on E-Ink vs dark-mode on OLED?

* adapt drawDeepSleepScreen to new screensaver convention

* Mark Wireless Paper V1.1 as having problems with ghosting
Any other issues can be marked in a similar way, then handled in code where relevant

* Change screensaver from fullscreen logo to overlay

* identify "quirks" rather than "problems"

* move async refresh polling from display() to a NotifiedWorkerThread

* Prevent skipping of deep-sleep screen
(Hopefully)

* Redesign screensaver overlay
Now displays short name

* Optimize refresh for different displays

* Support older EInkDisplay class

* Don't assume text alignment

* fix spelling of a quirk macro
(No impact to code, but avoids future issues)

* Handle impossibly unlikely millis() overflow error
Should have just let it go, but here we are..

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-28 18:31:11 -05:00
Ben Meadors
daa4d387c6
Don't reboot for non-radio lora config changes (#3505) 2024-03-28 18:14:15 -05:00
Manuel
a5c0601cee
Merge branch 'master' into tft-gui-work 2024-03-28 23:55:57 +01:00
Ben Meadors
4c2d5c6a89 Reorder structs to fix build 2024-03-28 07:16:07 -05:00
github-actions[bot]
b5ec35ec78
[create-pull-request] automated change (#3502)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-28 06:44:34 -05:00
mverch67
4c1625b954 configurable RAM usage 2024-03-27 07:41:30 +01:00
Manuel
7d38af3930
Merge branch 'master' into tft-gui-work 2024-03-27 07:41:01 +01:00
Ben Meadors
5732eed86b
Fixed position admin messages (#3490)
* Bespoke admin messages for setting and clearing fixed positions

* Add guards against remote admin messages setting things

* Flip ifs
2024-03-26 07:29:07 -05:00
Manuel
d9291aa993
Merge branch 'master' into tft-gui-work 2024-03-26 09:27:45 +01:00
Jonathan Bennett
1542afb847
Add libulfius2.7 to .deb debendencies (#3494) 2024-03-26 00:58:47 -05:00
Manuel
cef0f0162b
Merge branch 'master' into tft-gui-work 2024-03-25 16:08:58 +01:00
Jim Whitelaw
acc32916c3
Add multiple configuration options for a minimized build (GPS,WiFi,BT,MQTT,Screen). (#3469)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-25 06:33:57 -05:00
github-actions[bot]
728b58fb94
[create-pull-request] automated change (#3489)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 18:50:26 -05:00
GUVWAF
77fb230baa
Native: fail-safes for simulated node without config file (#3486)
* LinuxInput: only close if file descriptor is assigned

* Native: set some defaults if no configuration file found
2024-03-24 13:42:32 -05:00
Thomas Göttgens
b960dc1b41
Add Shutdown and reboot to CardKB and friends (#3487)
* Add Shutdown and reboot to CardKB and friends

* aw shucks
2024-03-24 13:41:45 -05:00
code8buster
5f529f7ca3
Remove unused defines from nrf52 variants (#3482)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-24 13:41:28 -05:00
github-actions[bot]
b4dbc2b4bf
[create-pull-request] automated change (#3485)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 12:44:44 -05:00
Manuel
51ab613867
Merge branch 'master' into tft-gui-work 2024-03-24 14:39:37 +01:00
github-actions[bot]
92d0d89cc7 [create-pull-request] automated change (#3483)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 14:38:19 +01:00
GUVWAF
2ae09efc78 Set unused header bytes to zero for future use (#3479) 2024-03-24 14:38:19 +01:00
Jonathan Bennett
f2e68afcf4 Crash fix and remove hard-coded path from PiWebServer (#3478)
* Remove hard-coded path from PiWebServer

* Bump portduino to pick up crash fix

* Remove PiWebServer non-ASCII debug output

* Trunk formatting
2024-03-24 14:38:19 +01:00
GUVWAF
87acb4c683 Actually update last_report_to_map 2024-03-24 14:33:44 +01:00
GUVWAF
fcbdd69885 Fix #3452: only alter received packet if port number matches (#3474)
* Use `alterReceivedProtobuf()` for NeighborInfo and Traceroute
`alterReceived()` should never return NULL
Traceroute should be promiscuous

* Remove extensive logging from NeighborInfo module
2024-03-24 14:33:44 +01:00
Ben Meadors
771b181218 Add set and remove favorite nodes admin commands (#3471) 2024-03-24 14:33:44 +01:00
Ben Meadors
37ae3cce4f Enforce consistent polite channel utilization limits except for Sensor role (#3467) 2024-03-24 14:33:44 +01:00
github-actions[bot]
9a8be51d7f [create-pull-request] automated change (#3470)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 14:33:44 +01:00
Ben Meadors
e7738facca Log warning cleanup and truth (#3466) 2024-03-24 14:33:44 +01:00
Ben Meadors
ae32c24c06 Skip favorite nodes when clearing out oldest in NodeDB (#3464)
* Skip favorite nodes when clearing out oldest in NodeDB

* We should actually map between the types
2024-03-24 14:33:44 +01:00
github-actions[bot]
753fc78d5c [create-pull-request] automated change (#3463)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 14:33:44 +01:00
Jonathan Bennett
326e0a588e Make MAX_NUM_NODES configurable in variant.h (#3453)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-24 14:20:03 +01:00
Jonathan Bennett
8f2f2221d1 Revert "Bump actions to node 20 (#3461)" (#3462)
This reverts commit defeb8e52b.

As per https://github.com/actions/upload-artifact/issues/478 the new version of upload-artifact includes a breaking change.
2024-03-24 14:20:03 +01:00
GUVWAF
3db09e2fed Add sanity check for map report interval and position precision (#3459)
* Add sanity check for map report interval and position precision

* Use new `Default::` methods
2024-03-24 14:20:03 +01:00
Jonathan Bennett
d694525547 Revert previous attempt 2024-03-24 14:20:03 +01:00
Jonathan Bennett
b5b9f34e11 Remove double run of build-raspbian 2024-03-24 14:20:03 +01:00
Jonathan Bennett
9ecd5a306f Bump actions to node 20 (#3461) 2024-03-24 14:20:03 +01:00
Ben Meadors
65e1993be8 Clear local position on nodedb-reset (#3451)
* Clear local position on nodedb-reset

* NodeDB pointer now, yo

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-03-24 14:20:03 +01:00
GUVWAF
391386517a Let NeighborInfo Module ignore packets coming from MQTT (#3457) 2024-03-24 14:20:03 +01:00
GUVWAF
662df5b179 Set default position precision of mapReport to 14 (#3456) 2024-03-24 14:20:03 +01:00
Ben Meadors
63df972d42
Revert "[create-pull-request] automated change (#3483)" (#3484)
This reverts commit c87fdfece7.
2024-03-24 08:11:47 -05:00
github-actions[bot]
c87fdfece7
[create-pull-request] automated change (#3483)
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-23 19:47:43 -05:00
GUVWAF
381d5230b8
Merge pull request #3480 from GUVWAF/logsMapReport
Don't spam logs if no position with map reporting (2)
2024-03-23 20:12:25 +01:00
GUVWAF
a7c005ccdf
Merge branch 'meshtastic:master' into logsMapReport 2024-03-23 19:36:21 +01:00
GUVWAF
71ca6f768f Actually update last_report_to_map 2024-03-23 19:35:12 +01:00
GUVWAF
4cce4c7c93
Set unused header bytes to zero for future use (#3479) 2024-03-23 12:38:29 -05:00
Jonathan Bennett
9e8860d188
Crash fix and remove hard-coded path from PiWebServer (#3478)
* Remove hard-coded path from PiWebServer

* Bump portduino to pick up crash fix

* Remove PiWebServer non-ASCII debug output

* Trunk formatting
2024-03-23 12:29:05 -05:00