Gareth Coleman
be889015f7
New device unPhone using HX8357D LCD and XPT2046 touchscreen
2024-04-04 11:00:10 +02:00
Thomas Göttgens
f0b6ff9b2d
Merge pull request #3545 from todd-herbert/paper-deepsleep-current
...
Reduce deep-sleep current for Heltec Wireless Paper
2024-04-04 10:59:20 +02:00
Todd Herbert
30ebb6ae46
use BUTTON_PIN macro
2024-04-04 17:18:40 +13:00
Todd Herbert
d1db51830b
set GPIOs for sleep
2024-04-04 17:05:12 +13:00
Todd Herbert
eb0e705ba9
de-init bluetooth
2024-04-04 17:04:10 +13:00
github-actions[bot]
46ad4bf0e5
[create-pull-request] automated change ( #3542 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-03 08:47:47 -05:00
todd-herbert
a570e50aca
Disable holds / isolations on RTC IO pads after deep sleep ( #3539 )
...
* disable holds on RTC IO pads after deep sleep
* Don't assume SOC_RTCIO_HOLD_SUPPORTED
2024-04-03 06:59:53 -05:00
AeroXuk
2caed6d29c
Feature parity between Pico and Pico W ( #3538 )
2024-04-02 15:36:15 -05:00
todd-herbert
f2ed0f7c8c
Fix Light-sleep for ESP32 ( #3521 )
...
* Change wakeup source from EXT0 to GPIO
* Avoid ISR issue on wake
* Detect press from wake reason, instead of digitalRead
* Missing #ifdef
Risky phone-typed commit
* Fix PowerFSM timed transition preventing light sleep
Addresses https://github.com/meshtastic/firmware/issues/3517
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-02 14:55:48 -05:00
Jonathan Bennett
8bb562c5fa
Add spiTransfer function to Native to support Linux-managed CS ( #3524 )
...
* Add spiTransfer function to Native to support Linux-managed CS
* Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-01 18:31:36 -05:00
rcarteraz
15501e84dd
Add Station-G2 to install scripts ( #3525 )
...
* add station g2 to device-install.bat
* add station-g2 to device-install.sh
* remove extra space
2024-04-01 05:53:19 -05:00
GUVWAF
a4c22321fc
Don't save Neighbors to flash when receiving ( #3519 )
...
* Don't save Neighbors to flash when receiving
* Move `shouldSave` to `saveProtoForModule()`
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-31 08:03:29 -05:00
todd-herbert
46a63bf293
Handle edge cases for E-Ink screensaver ( #3518 )
...
* remove redundant logic
* Handle special screens for old EInkDisplayClass
* Handle special screens for EInkDynamicDisplay class
* Join an async refresh in progress to avoid skipping screensaver
* attempt trunk fix
2024-03-31 07:04:05 -05:00
Jorropo
279464f96d
linux-native: only install linux native deps ( #3510 )
...
This is a couple times faster because platformio checks all environment sequentially.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-29 07:42:20 -05: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
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
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
Jonathan Bennett
1542afb847
Add libulfius2.7 to .deb debendencies ( #3494 )
2024-03-26 00:58:47 -05: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
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
GUVWAF
d30d6bd3eb
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-23 07:31:58 -05:00
Ben Meadors
94e4301f2f
Add set and remove favorite nodes admin commands ( #3471 )
2024-03-22 10:53:18 -05:00
Ben Meadors
54818b5f8d
Enforce consistent polite channel utilization limits except for Sensor role ( #3467 )
2024-03-22 07:25:00 -05:00
github-actions[bot]
c77c58d656
[create-pull-request] automated change ( #3470 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-22 07:24:10 -05:00
Ben Meadors
794e99c2f9
Log warning cleanup and truth ( #3466 )
2024-03-21 20:45:48 -05:00
Ben Meadors
7aa013a716
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-21 19:51:02 -05:00
github-actions[bot]
a57f7730ea
[create-pull-request] automated change ( #3463 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-21 18:55:50 -05:00
Jonathan Bennett
35754d661d
Make MAX_NUM_NODES configurable in variant.h ( #3453 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-21 18:26:37 -05:00
Jonathan Bennett
79cfb1e876
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-21 16:50:44 -05:00
GUVWAF
155df45d92
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-21 16:20:20 -05:00
Jonathan Bennett
907d075917
Revert previous attempt
2024-03-21 16:17:13 -05:00
Jonathan Bennett
9c88906acc
Remove double run of build-raspbian
2024-03-21 16:14:45 -05:00
Jonathan Bennett
defeb8e52b
Bump actions to node 20 ( #3461 )
2024-03-21 15:24:57 -05:00
Ben Meadors
6dd337a651
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-21 14:43:10 -05:00