Commit Graph

409 Commits

Author SHA1 Message Date
Mark Trevor Birss
96262b106c
Revert "Create display-x11.yaml ()" ()
This reverts commit 39e45d90e1.
2025-02-10 11:53:58 +02:00
Mark Trevor Birss
39e45d90e1
Create display-x11.yaml () 2025-02-10 09:59:13 +02:00
Thomas Göttgens
a3a295488c add firmware build script for use with docker 2025-02-03 16:48:10 +01:00
Austin
4c0e0b8471
Portduino: Set Web SSL Cert / Key paths from yaml () 2025-02-01 16:58:58 +08:00
Ben Meadors
b5cad2b65e
Fix negative decimal value detection in userPrefs () 2025-01-29 20:52:24 -06:00
Austin
78da8f6fc4
Portduino: Allow limiting TX Power from yaml () 2025-01-29 12:51:26 +01:00
Austin
9041af365d
Move OpenWRT configs to subdir () 2025-01-21 16:18:40 -06:00
Mark Trevor Birss
c1beb44678
Create BananaPi-BPI-R4-sx1262.yaml () 2025-01-20 13:20:59 +02:00
Austin
e0f97c9306
rpkg Fedora packaging () 2025-01-13 12:24:05 +08:00
Patrick Siegl
70296b47bc
Multi gpiochip support for native environment ()
* For each GPIO PIN, allow to specify gpiochip and line

* Added support for LLCC68 in native env.

* Removed one if by employing &&

* Fix for log, as std::string and not const char*

* Remove CH341 flag, enabling it for all LoRa chips

* Provide a default example

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2025-01-12 13:40:25 -06:00
Tom Fifield
46ea39af45
Quote filename in device-install.sh ()
Without these quotes, a filename with spaces would be interpreted as
different arguments.

Thanks to @Hnikar-az for the report.

fixes https://github.com/meshtastic/firmware/issues/5795
2025-01-11 10:10:04 +01:00
Austin
6cf3485d07
meshtasticd-debian: Fix versioning compliance, add OBS () 2025-01-07 17:16:56 -06:00
Austin
403fa15a3f
meshtasticd-debian: Include run in version () 2025-01-05 15:55:04 -06:00
Austin
2f552d15e5
meshtasticd-debian: Cleanup debian versioning () 2025-01-05 14:14:47 -06:00
Jonathan Bennett
7c21d7761c
Move the RFM9x to config.available () 2025-01-04 14:12:54 -06:00
Austin
2c654454cf
meshtasticd debian source package () 2025-01-04 13:39:37 -06:00
noon92
fa1a1fd869
Update Femtofox configs ()
* Delete bin/config.d/femtofox/femtofox_EByte-E22-900M30S_Ebyte-E22-900M22S.yaml

* Delete bin/config.d/femtofox/femtofox_EByte-E22-900MM22S.yaml

* Delete bin/config.d/femtofox/femtofox_Heltec-HT-RA62_Seeed-WIO-SX1262.yaml

* Delete bin/config.d/femtofox/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml

* Add files via upload

* Update and rename bin/config.d/femtofox_SX1262_XTAL.yaml to bin/config.d/femtofox/femtofox_SX1262_XTAL.yaml

* Update and rename bin/config.d/femtofox_LR1121_TCXO.yaml to bin/config.d/femtofox/femtofox_LR1121_TCXO.yaml

* Update and rename bin/config.d/femtofox_SX1262_TCXO.yaml to bin/config.d/femtofox/femtofox_SX1262_TCXO.yaml
2024-12-22 10:04:18 +11:00
Jonathan Bennett
960626e498
Ch341 ()
* Very hacky first attempt at usermod ech341

* Fixes and debug printfs

* Move to library version of libpinedio-usb

* Add spidev: ch341 option in meshtasticd config.yaml

* Only check settingsStrings on native

* Use new CH341 code

* Bump ch341 lib

* Cleanup USBHal

* Add ch341 config.d files

* Remove ch341quirk

* Bump to most recent spi-userspace driver

* Add handling for ch341 serial, pid, and vid

* Minor fixes from pio check

* Trunk

* Add include for musl compliance

* Point to upstream libch341
2024-12-20 17:34:02 -06:00
Mark Trevor Birss
c3f89a6db8
Create OpenWRT-One-mikroBUS-LR-IOT-CLICK.yaml () 2024-12-14 11:46:35 +01:00
Austin
cabeb40c30
Portduino: Move meshtasticd/web out of /usr/share/doc/ () 2024-12-11 06:58:16 +11:00
Mark Trevor Birss
438f627e9b
Update OpenWRT_One_mikroBUS_sx1262.yaml () 2024-12-10 09:46:50 +02:00
Mark Trevor Birss
f81d3b045d
Create OpenWRT_One_mikroBUS_sx1262.yaml () 2024-12-08 12:06:45 +02:00
Jonathan Bennett
4a34bf648f
Add MACAddress to config.yaml ()
* Add MACAddress to config.yaml

* Better error handling on native, including failing to launch with blank MAC Address and real hardware.

* Re-arrange Mac Address handling and add MACAddressSource

* Bump portduino to remove macaddr function there

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-07 10:29:49 -06:00
noon92
10e10450cf
Added femtofox configs ()
* added femtofox configs

* Rename bin/config.d/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml to bin/config.d/femtofox/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml

* moved femtofox configs to subdir
2024-12-03 06:33:27 -06:00
Ben Meadors
d00e0f6911
Convert userprefs to a json file instead of header file which has to be included everywhere ()
* WIP

* Got string quoting and macro expansion working

* Need the placeholder

* Cleanup

* Missed a user prefs reference

* Update jsonc
2024-12-03 06:17:25 -06:00
madeofstown
14b9a1a929
Update build-native.sh ()
* Update build-native.sh

Device-install.sh and device-update.sh are not used on native platform, skip copying to release directory after build and copy native-install.sh and native-run.sh instead.

* Update build-native.sh

Skip native-run.sh copy
2024-11-23 18:06:31 +08:00
Michael Gjelsø
1089469f82
--web littlefswebui-* typo fix ()
* Add --web

* Update device-install.bat

Forgot a "-" a few places.

* Typo fix.

* Typo fix

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
2024-11-21 13:27:26 -06:00
Michael Gjelsø
1752caaf19
--web added to device-install(.sh/.bat) ()
* Add --web

* Update device-install.bat

Forgot a "-" a few places.

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-21 07:21:06 +08:00
Michael Gjelsø
89469fcb88
Allows all 3 PKI keys to be added to userPrefs.h () and a tool. ()
* more userPrefs.h

Added PKI Admin keys to userPrefs.h

* Update userPrefs.h

Allows all 3 PKI keys to be added to userPrefs.h ()

* Update NodeDB.cpp

Trunk

* Update userPrefs.h

Changed wording

* Create base64_to_hex.py

A little tool for converting base64 PKI Keys to decoded byte that userPrefs.h can understand.

* more userPrefs.h

Added PKI Admin keys to userPrefs.h

* Update userPrefs.h

Allows all 3 PKI keys to be added to userPrefs.h ()

* Update NodeDB.cpp

Trunk

* Update userPrefs.h

Changed wording

* Create base64_to_hex.py

A little tool for converting base64 PKI Keys to decoded byte that userPrefs.h can understand.
2024-11-17 12:36:41 -06:00
Ben Meadors
74d0c58576 Diag 2024-11-16 06:24:10 -06:00
Ben Meadors
be6348388e Separate littlefs bundle 2024-11-16 06:12:45 -06:00
Ben Meadors
a49f080bd2
Revert "Portduino packaging: Move meshtastic/web out of /usr/share/doc ()" ()
This reverts commit 762ccdc1b9.
2024-11-12 06:40:46 -06:00
Austin
762ccdc1b9
Portduino packaging: Move meshtastic/web out of /usr/share/doc ()
* Portduino: Move meshtastic/web out of `doc`

* Remove /usr/share/doc/meshtasticd before linking
2024-11-12 16:14:12 +08:00
Jeremiah K
bd3755bb33
Fix device flashing scripts so they work with esptool when it's installed via pipx ()
* Try esptool.py in device flashing scripts for pipx compatibility

* esptool detection fixes in device flashing .bat's
2024-11-07 09:43:34 +08:00
Jonathan Bennett
bf944e78d8
More configs ()
* Add config.available for the MeshAdv 900M30S

* Move configs out of config.yaml
2024-11-04 11:17:32 -06:00
Thomas Göttgens
0a82fd28b3
PIO_ENV ()
* add hw_env to packet

needs https://github.com/meshtastic/protobufs/pull/616

* rename to pio_env

* Move to mynodeinfo

* Includy doody

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-03 20:02:13 -06:00
Jonathan Bennett
850f61d2d0
Native config.d ()
* Add support for loading yaml from a config directory

* Add waveshare hats to the new config.d approach

* Move to available.d for module inactive module configs
2024-10-28 21:48:10 -05:00
Tom Fifield
195f109ef7
Cherrry pick bin/config-dist.yml from TFT-GUI-Work ()
* support SHCHV 3.5 RPi TFT+Touchscreen

* add TZT 2.0inch ST7789 config

---------

Co-authored-by: mverch67 <manuel.verch@gmx.de>
2024-10-28 09:31:21 +01:00
Craig Bailey
3f1c86f953
Update meshtasticd.service ()
Adding restart on service failure with 3 seconds between restart to stop fasst restart loops. Adding StartLimitBurst to limit it to 5 restarts in 200 seconds.
2024-10-22 16:22:10 -05:00
madeofstown
a27f9fcdbd
Add -p flag ()
Add the `-p` to the `mkdir` so it doesn't fail when the folder already exists

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-18 20:19:24 -05:00
Jonathan Bennett
dfeb33d46e
Add DIO2_AS_RF_SWITCH to pinedio prefilled config. 2024-10-18 12:30:46 -05:00
Ben Meadors
001a845ac3
Upgrade nanopb () 2024-10-06 07:55:02 -05:00
Ben Meadors
a3a97d3025
Start of generating json manifest of macros in userPrefs.h ()
* Start of generating json manifest for userPrefs.h

* Just trunk this for now

* Add automatic generation of json manifest in GH action

* Trunk
2024-10-06 05:24:57 -05:00
Jonathan Bennett
fd1b68513a
Add sx126x_ant_sw for Native ()
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-27 19:29:44 -05:00
Thomas Göttgens
c35d780236 only randominze for at least 3 elements 2024-09-27 10:27:57 +02:00
Thomas Göttgens
40932ea06c update ci builder to include a 'quick' command line option that only outputs 3 random devices or check targets 2024-09-27 10:21:34 +02:00
Thomas Göttgens
543e7f3342 add generic bootloaders by @markbirss 2024-09-03 12:03:06 +02:00
Thomas Göttgens
3bb1cb8f1d Update Erase tool for legacy softdevices to V3 2024-09-03 09:25:33 +02:00
Thomas Göttgens
2f0c19ebea - use setRfSwitchTable
- ditch Godmode
- fixes Signedness Error in Loop.
- add V3 factory erase for 7.3.0 softdevice
2024-09-02 15:06:06 +02:00
Ben Meadors
50d778d281 Add RAK4631 hex to firmware release 2024-08-27 18:24:14 -05:00