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
Jonathan Bennett
39743832ad
Revert Portduino RadioLib to 6.1.0
2023-11-29 20:19:10 -06:00
Jonathan Bennett
bd2675caf1
Temporarily Pin RadioLib to 6.2.0
2023-11-29 20:19:10 -06:00
Jonathan Bennett
c489c251ab
Pull in Portduino changes for Raspberry Pi support
2023-11-29 20:19:10 -06:00
Jonathan Bennett
14d03a2bda
Initial implementation of I2C
2023-11-29 20:19:10 -06:00
Jonathan Bennett
423b8ad603
Adds real GPS support to Raspberry Pi arch
2023-11-29 20:19:10 -06:00
Jonathan Bennett
ce8342d3e5
Drop Pi HAL
2023-11-29 20:19:10 -06:00
Jonathan Bennett
57227c0f85
Add gpiochip setting
2023-11-29 20:19:10 -06:00
Jonathan Bennett
1ca2923658
Fix missed #if defined() logic
2023-11-29 20:19:10 -06:00
Jonathan Bennett
d10b1e1d00
Add better error reporting for RF95 init failure
2023-11-29 20:19:10 -06:00
Jonathan Bennett
d3e64350d9
Remove RADIOLIB_SPI_PARANOID compile option, as it does nothing
2023-11-29 20:19:10 -06:00
Jonathan Bennett
102efd4954
Move to portduino GPIO, adding user button support
2023-11-29 20:19:10 -06:00
Jonathan Bennett
4712b1ca65
Add manual run option to package_raspbian.yml ( #2954 )
2023-11-22 07:17:48 -06:00
Jonathan Bennett
1b20a82b55
Update package_raspbian.yml
...
Trunk
2023-11-19 20:28:37 -06:00
Jonathan Bennett
195706e0e5
Update package_raspbian.yml to pull correct code for PR runs
2023-11-19 20:19:43 -06:00
Jonathan Bennett
c1f5878648
Add Raspbian to firmware zip
2023-11-19 17:11:54 -06:00
Jonathan Bennett
7380f3b170
Trunk fmt fix whitespace
2023-11-19 16:53:00 -06:00
Jonathan Bennett
a9d846c1b3
make package_raspbian.yml a reusable workflow
2023-11-19 16:45:06 -06:00
Jonathan Bennett
cfb09ee115
add .deb to release
2023-11-19 16:41:47 -06:00
Jonathan Bennett
8f0ce606db
Update package_raspbian.yml upload .deb as artifact
2023-11-19 16:07:08 -06:00
Jonathan Bennett
d04ff29c2a
Update package_raspbian.yml use ubuntu-latest
2023-11-19 15:56:41 -06:00
Jonathan Bennett
8e92754b59
Update package_raspbian.yml
2023-11-19 15:48:43 -06:00
Jonathan Bennett
dad824c0e9
Update package_raspbian.yml -- add checkout step
2023-11-19 15:16:11 -06:00
Jonathan Bennett
31d7c6826d
Update package_raspbian.yml
...
Properly run build_raspbian as a step
2023-11-19 15:03:46 -06:00
Jonathan Bennett
d33521ee86
Add package-raspbian workflow
2023-11-19 14:53:49 -06:00
Jonathan Bennett
5ad12fed60
Chill out, yamllint
2023-11-19 14:53:49 -06:00
Jonathan Bennett
4af90eeb39
Revamp yaml config for Raspbian
2023-11-19 14:53:49 -06:00
Jonathan Bennett
08297bb0b7
Copy and Paste output file location for workflow
2023-11-18 15:36:41 -06:00
Jonathan Bennett
16ef40b21f
Add even moar workflow debugging
2023-11-18 15:16:36 -06:00
Jonathan Bennett
7ef4abb974
Add debugging output to main workflow
2023-11-18 14:56:40 -06:00
Jonathan Bennett
297267d037
Try harder to find Raspbian binary
2023-11-18 13:26:05 -06:00
Jonathan Bennett
f8e766ebc7
Include Raspbian in release zip
2023-11-18 12:05:51 -06:00
Jonathan Bennett
7bd2b07024
Disable radiolib debug
2023-11-18 12:05:51 -06:00
Jonathan Bennett
b6ddbd0087
More CI work for Raspbian ( #2949 )
...
* More CI work for Raspbian
* Workaround quirks of Arm64/debian runners
2023-11-18 11:04:21 -06:00
Jonathan Bennett
dc8903ec42
Add Raspbian to Main CI ( #2948 )
2023-11-18 08:55:19 -06:00
Jonathan Bennett
e99ae64ece
Add Pi library only to Raspbian
2023-11-15 21:16:27 -06:00
Jonathan Bennett
61f888e952
Add missed ifdef
2023-11-15 21:01:17 -06:00
Jonathan Bennett
a144d5d6cc
Clean up, fix reboot, minimize changes
2023-11-15 20:33:53 -06:00
Jonathan Bennett
b1b5bafdda
Add PiHal and get Waveshare SX1262 XXXM working
2023-11-15 17:04:41 -06:00
Jonathan Bennett
8df16ad6a6
Add ctime include to fix native compile
2023-11-08 14:36:12 -06:00
Jonathan Bennett
8780d93941
Remove missed GPS definition ( #2878 )
2023-10-09 13:30:51 -05:00
Jonathan Bennett and Ben Meadors
aa38f53aed
Fix for T-Beam 1.2 GPS ( #2858 )
...
* Fix for T-Beam 1.2 GPS, with DEBUG enabled
* Don't break other devices
* Saving GPS data on this breaks on next boot. Fix.
* derp
* disable the extra verbosity
* Try the same sort of factory reset as the Lilygo image
* Catch GPS reboots and squash
* trunk
* GPS
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-03 12:05:40 -05:00