Jonathan Bennett
0852a170a3
Add support for BMX160/RAK12034 compass module ( #4021 )
2024-06-11 17:47:45 -05:00
Jonathan Bennett
54bccb898e
Run tzset() and localtime() in getTZOffset() to ensure proper timezone offset ( #3999 )
...
* Run tzset() and localtime() in getTZOffset() to ensure proper timezone offset
* Try #2 to fix timezone/DST
2024-05-31 07:15:16 -05:00
Jonathan Bennett
8d90c496d0
Don't send potentially bogus timestamps with fixed location ( #4001 )
2024-05-31 07:14:33 -05:00
Jonathan Bennett
34553c9714
Bump portduino to pick up improvements to reboot() ( #3975 )
2024-05-26 06:42:23 -05:00
Jonathan Bennett
7bcb8f1fee
Portduino: Catch the keyboard power button and initiate poweroff ( #3953 )
2024-05-22 07:54:06 -05:00
Jonathan Bennett
d19607ba98
Look in the right place for .debs
2024-05-21 11:23:29 -05:00
Jonathan Bennett
b829ee795d
re-add .deb download to build
2024-05-21 10:37:26 -05:00
Jonathan Bennett
ed8abea11b
Add final debug call for Portduino reboot ( #3945 )
2024-05-21 00:09:33 -05:00
Jonathan Bennett
34aec70998
No need to build Raspbian arm64 twice: Part 2
2024-05-19 23:44:12 -05:00
Jonathan Bennett
e8cdac8fa0
No need to build Raspbian arm64 twice
2024-05-19 23:31:33 -05:00
Jonathan Bennett
afae3a488e
Move Raspbian Arm64 to new build scheme
2024-05-19 23:29:43 -05:00
Jonathan Bennett
85e238ca76
Better names for .deb artifacts
2024-05-19 21:12:47 -05:00
Jonathan Bennett
45b05c9896
Revert "Use the right arch name for armv7l builds"
...
This reverts commit 7d1a925892 .
2024-05-19 20:39:11 -05:00
Jonathan Bennett
7d1a925892
Use the right arch name for armv7l builds
2024-05-19 20:16:33 -05:00
Jonathan Bennett
72fb8a30a1
No sudo on debian docker
2024-05-19 18:18:03 -05:00
Jonathan Bennett
1c67f491d4
Add deps install for armv7l builds
2024-05-19 18:13:12 -05:00
Jonathan Bennett
f7a4cd33b4
Add armv7 builds
2024-05-19 18:00:06 -05:00
Jonathan Bennett
84d3117a7a
Lock Portduino to MAGIC_USB_BATTERY_LEVEL for now ( #3894 )
2024-05-18 12:21:35 -05:00
Jonathan Bennett
a2284e3d52
DEBIAN is case sensitive
2024-05-17 03:32:11 -05:00
Jonathan Bennett
314d2e2da1
debconf expects absolute paths.
2024-05-17 02:34:18 -05:00
Jonathan Bennett
676319a9ca
Implement chunked SPI transfer for ch341 ( #3847 )
...
This seems to fix the ch341 quirk where large packets fail to send. As it can be problematic for other radios, we gate it behind "ch341_quirk" in the config.
2024-05-10 04:36:20 -05:00
Jonathan Bennett
0c89aff0f6
Enable telemetry and power telemetry on the native target
2024-05-09 15:45:16 -05:00
Jonathan Bennett
c009c0db1e
Elimate non-text output for Portduino
2024-05-06 22:27:12 -05:00
Jonathan Bennett
b69a1cada9
Portduino bump to pick up minor fix ( #3770 )
2024-05-02 13:54:50 -05:00
Jonathan Bennett
06e7d2b845
Track actual GPIO values, not just the enum values ( #3768 )
...
* Track actual GPIO values, not just the enum values
* trunk
2024-05-02 13:39:28 -05:00
Jonathan Bennett
45c1b46bd0
Move native to spi_host to indicate spidev for LovyanGFX
2024-05-01 13:21:23 -05:00
Jonathan Bennett
5095efc55f
Pick up support for more than 64 GPIO lines under Portduino
2024-05-01 13:21:23 -05:00
Jonathan Bennett
30fbcabf84
add conffiles to .deb packaging ( #3722 )
2024-04-25 14:23:38 -05:00
Jonathan Bennett
e3610a2eb1
Move to lovyangfx develop for Native
2024-04-24 13:17:43 -05:00
Jonathan Bennett and Ben Meadors
57d296e0db
Add better support for the Adafruit PiTFT 2.8 for Native ( #3704 )
...
* Add better support for the Adafruit PiTFT 2.8 for Native
* native: Make touch i2c address configurable
* Bump portduino to pick up I2C features
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-23 14:18:51 -05:00
Jonathan Bennett and Ben Meadors
d47e9bed19
Add multiple SPI devices for Radio, Display, and Touchscreen ( #3638 )
...
This changeset gives us the ability to specify a separate SPI device for the LoRa, Display, and Touchscreen. The changes in Portduino also add support for specifying a new SPI speed for each transaction. All together, this means that we can let the Linux OS manage the CS lines, and also get much faster SPI speeds, leading to better framerates.
* Add multiple SPI devices to put Radio, Display, and Touchscreen on each their own
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-17 14:25:52 -05:00
Jonathan Bennett
7d3175dc83
More useful default input device for Pi 400 ( #3639 )
2024-04-16 07:22:31 -05:00
Jonathan Bennett
5b52c31a76
Fix HAS_WIRE logic in main
2024-04-14 16:44:28 -05:00
Jonathan Bennett
00d4c011c7
Fix sx126x error log logic
2024-04-14 16:44:28 -05:00
Jonathan Bennett
1447148811
Make sure settingsStrings get initialized
2024-04-14 16:44:28 -05:00
Jonathan Bennett
0a246bfe9b
Add more useful error output in radio interfaces ( #3615 )
...
* Add more useful error output in radio interfaces
* trunk
2024-04-14 00:29:42 -05:00
Jonathan Bennett
f1a1834ee2
Update portduino to include SPI and setSetial fixes ( #3611 )
2024-04-13 16:14:15 -05:00
Jonathan Bennett
3f45c2d4f0
Fix another LOG_DEBUG message that should be LOG_ERROR ( #3607 )
2024-04-12 14:14:56 -05:00
Jonathan Bennett
11adfe05ce
Drop unishox2 functions from Router ( #3606 )
2024-04-12 14:06:05 -05:00
Jonathan Bennett
917b739e62
Update TinyGPS version to un-derped commit
2024-04-12 11:29:08 -05:00
Jonathan Bennett
6de0363eea
Pin RadioLib to 6.5.x ( #3601 )
2024-04-12 07:17:43 -05:00
Jonathan Bennett
aa3280c18c
add trunk ignore for docker chmod ( #3568 )
...
* add trunk ignore for docker chmod
* Fix incorrect comment type
2024-04-07 17:08:17 -05:00
Jonathan Bennett
68e657fd07
Actually fix Docker - hopefully
2024-04-07 15:52:43 -05:00
Jonathan Bennett
47b8f7b6c6
Don't forget to change directory owner
2024-04-07 14:34:19 -05:00
Jonathan Bennett
fde20db95f
move chmod -t to root section
2024-04-07 14:22:39 -05:00
Jonathan Bennett
40a7fd145a
Update Dockerfile to remove sticky bit during build ( #3567 )
...
* Update Dockerfile to remove sticky bit during build
* no sudo?
2024-04-07 14:15:03 -05:00
Jonathan Bennett
03f60dcb49
Make instructions clearer in config.yaml comments ( #3559 )
2024-04-06 08:04:49 -05:00
Jonathan Bennett and Ben Meadors
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
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
Jonathan Bennett
1542afb847
Add libulfius2.7 to .deb debendencies ( #3494 )
2024-03-26 00:58:47 -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
Jonathan Bennett and Ben Meadors
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
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
Jonathan Bennett
fd26914d88
move nodeDB::init code into nodeDB constructor ( #3455 )
2024-03-21 13:14:02 -05:00
Jonathan Bennett and Ben Meadors
dfcd0d14f6
Add MaxNodes to Native config ( #3427 )
...
* Add MaxNodes to Native
* It compiles...
* Convert nodedb to use new
* Closer but still broken.
* Finally working
* Remove unintended lines
* Don't include a pointer
* Capitalization matters.
* avoid rename in protocol regen
* When trimming the nodeDB, start with a cleanup
* Remove extra cleanupMeshDB() call for now
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-21 09:06:37 -05:00
Jonathan Bennett
dced888492
Add precision_bit sto json
2024-03-09 15:34:01 -06:00
Jonathan Bennett
bfce3938d2
Add openssl as dependency to meshtasticd .deb
2024-03-06 18:54:09 -06:00
Jonathan Bennett
46ad623785
Add webroot to .deb
2024-03-06 17:43:04 -06:00
e174328de3
Native Webserver ( #3343 )
...
* Added WebServer/WebServices for Native Linux Meshtastic and web gui
* Fix bug in login functionality
* Added customized config of portdunio.ini with LovyannGFX from marelab repro
* Compile Problem resolved with developer version of LovyanGFX.git
* Compile against dev version
* Fixes to fit into main branch
* Update variant.h, main.cpp, .gitignore, WebServer.cpp, esp32s2.ini, WebServer.h, ContentHandler.cpp, rp2040.ini, nrf52.ini, ContentHelper.cpp, Dockerfile, ContentHandler.h, esp32.ini, stm32wl5e.ini
* Added linux pi std /usr/include dir
* Adding /usr/innclude for Linux compile against native libs that are not hadled by platformio
* Review log level changes & translation
* Update Dockerfile
* Fix Typo & VFS ref. Part1
* Fix Typo & VFS ref.
* Dev Version for ulfius web lib
* Update platformio.ini
* Free VFS path string
* Remove unintended changes
* More unintentional changes
* Make the HTTP server optional on native
* Tune-up for Native web defaults
* Don't modify build system yet
* Remove more unneeded changes
---------
Co-authored-by: marc hammermann <marchammermann@googlemail.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-03-06 16:23:04 -06:00
Jonathan Bennett
9d37a8d17f
Stop Fiddling with Newlines! ( #3341 )
2024-03-06 13:09:46 -06:00
Jonathan Bennett
7ab9a94edb
just off the coast of NULL Island isn't OK either.
2024-03-03 11:50:07 -06:00
Jonathan Bennett
146b5b557a
UINT32_MAX is not the same as INT32_MAX
2024-02-26 01:03:03 -06:00
Jonathan Bennett
0dcd3584e4
Fix wrong-side-of-globe when precision set to 32
2024-02-25 21:48:25 -06:00
Jonathan Bennett
c2085c2c88
Fix default stance in position_precision
2024-02-24 13:29:07 -06:00
Jonathan Bennett
b2ea1e23be
Move imprecise locations to grid middle
2024-02-23 17:27:47 -06:00
Jonathan Bennett
7706786541
Correct powersave settings for ublox
2024-02-22 13:41:43 -06:00
Jonathan Bennett
eb2fa727a7
Adds support for position_precision
2024-02-22 13:41:43 -06:00
Jonathan Bennett
790f100620
Protobuf bump
2024-02-22 13:41:43 -06:00
Jonathan Bennett
0153daa8ba
Minor typo fix
2024-02-22 13:41:43 -06:00
Jonathan Bennett
e3c4bc5473
Re-enable GPS on native
2024-02-15 11:46:30 -06:00
Jonathan Bennett
3b0169ba7a
Adafruit display ( #3179 )
...
* Use uint8_t instead of char in icon_bits
* Add Adafruit PiTFT support
2024-02-08 16:29:15 -06:00
Jonathan Bennett
af5ac32048
Re-order GPS check to eliminate TOO old message ( #3152 )
2024-01-30 17:44:08 -06:00
Jonathan Bennett
a49740cd56
Adds i2c device configuration to native ( #3143 )
2024-01-28 20:15:29 -06:00
Jonathan Bennett
d604a76c73
Use correct define for native gos ( #3133 )
2024-01-26 09:06:15 -06:00
Jonathan Bennett
4ae5443c3b
Don't ever delete own node from DB ( #3122 )
2024-01-22 20:13:27 -06:00
Jonathan Bennett
6b5101ec67
Portduino logging enhancements ( #3121 )
...
* Portduino logging enhancements
* Extra debugging for SPI device
2024-01-22 01:27:06 -06:00
Jonathan Bennett
062c646814
TinyGPS fix for empty terms ( #3120 )
2024-01-21 19:13:54 -06:00
Jonathan Bennett
8b362dee3a
RadioLib 6.4.0 fixes ( #3098 )
2024-01-15 10:56:17 -06:00
Jonathan Bennett
14736775e2
Update define for RadioLib 6.4.0
2024-01-14 14:51:37 -06:00
Jonathan Bennett
a7019b7206
Update for Radiolib 6.4.0 to fix build
2024-01-14 14:38:57 -06:00
Jonathan Bennett
6284f4ffe6
Update Linux binaries to use arch names ( #3093 )
2024-01-13 19:11:59 -06:00
Jonathan Bennett
e4e9a1559e
Drop the Raspbian and Linux targets ( #3091 )
...
* Drop the Raspbian and Linux targets
* Add lovyanGFX libdep to native
2024-01-13 16:12:26 -06:00
Jonathan Bennett and Ben Meadors
4a867c81c0
Portduino work ( #3049 )
...
* Move to Portduino's getMacAddr()
* Add ST7735/S screen support
* Push Raspbian support into native target
* Remove latent pigpio references.
* CardKB defensive programming
* Adds configurable spidev
* Fixes to build on Fedora 40
* ENUMs are not #defines. Pull latest portduino
* Add more configuration options for SPI displays
* Add config.yaml option to set DIO3_TCXO_VOLTAGE
* change tft clear() to fillScreen()
Maintains compatability with ESPI driver.
* Adds TXen and RXen pins to portduino
* Add -c --config options to specify config file
* Fail when a specified config file is unavailable
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-12 02:00:31 -06:00
Jonathan Bennett
e3c768bf10
Update platformio.ini -- set target default to tbeam ( #3054 )
2024-01-04 12:22:45 -06:00
Jonathan Bennett
4577646f8b
Get rid of max-parallel build for rp2040
2023-12-29 17:49:25 -06:00
Jonathan Bennett
1ae02a9a28
Add dependencies for native build
2023-12-29 16:47:42 -06:00
Jonathan Bennett
28951ea1e0
Add libbluetooth-dev to build image
2023-12-29 12:35:42 -06:00
Jonathan Bennett
8d37d93e05
Hash function needs uint32_t for some platforms. ( #3038 )
2023-12-26 13:21:09 -06:00
Jonathan Bennett
71c0726838
Ignore keyboard input while sending CannedMessages packet
2023-12-16 23:03:41 -06:00
Jonathan Bennett
c6ae66dcaa
Add fallthrough option to avoid a GPS stuck off.
2023-12-14 21:39:41 -06:00
Jonathan Bennett
fc365a1fee
Keep WiFi defines out of platforms without WiFi
2023-12-14 20:16:36 -06:00
Jonathan Bennett
6c1db94ae7
Add raspbian reboot and shutdown behavior
2023-12-14 19:53:42 -06:00
Jonathan Bennett
dd96848bec
Change type to fix compilation in new code
2023-12-12 21:35:01 -06:00
Jonathan Bennett and Ben Meadors
2ebaea317a
Refactor display handling add Raspbian TFT display ( #2998 )
...
* Refactor display handling add Raspbian TFT display
* Add missed change
* Add static casts
* Add missed TFT refactor for RAK14014
* Add missed GPIO configuration
* Adds Native keyboard input option
* Get the ifdefs right
* CannedMessage send via queue, not run immediately.
* Fixup systemd service file
* Add display blanking for Raspberry Pi
* Add a couple missed key definitions
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-12 20:27:31 -06:00
Jonathan Bennett
5eac227550
Fix whitespace in workflow
2023-12-07 21:29:04 -06:00
Jonathan Bennett
671112f47d
Update pull-request-artifacts config
2023-12-07 21:22:30 -06:00
Jonathan Bennett
8ea19d665a
Update pull-request-artifacts
2023-12-07 20:22:22 -06:00