2023-12-13 02:27:31 +00:00
|
|
|
### Define your devices here using Broadcom pin numbering
|
|
|
|
### Uncomment the block that corresponds to your hardware
|
2024-04-06 13:04:49 +00:00
|
|
|
### Including the "Module:" line!
|
2023-11-19 20:00:03 +00:00
|
|
|
---
|
|
|
|
Lora:
|
|
|
|
# Module: sx1262 # Waveshare SX126X XXXM
|
|
|
|
# DIO2_AS_RF_SWITCH: true
|
|
|
|
# CS: 21
|
|
|
|
# IRQ: 16
|
|
|
|
# Busy: 20
|
|
|
|
# Reset: 18
|
2023-11-18 14:12:34 +00:00
|
|
|
|
2023-11-19 20:00:03 +00:00
|
|
|
# Module: sx1262 # Waveshare SX1302 LISTEN ONLY AT THIS TIME!
|
|
|
|
# CS: 7
|
|
|
|
# IRQ: 17
|
|
|
|
# Reset: 22
|
2023-11-18 14:12:34 +00:00
|
|
|
|
2024-01-12 08:00:31 +00:00
|
|
|
# Module: sx1262 # pinedio
|
|
|
|
# CS: 0
|
|
|
|
# IRQ: 10
|
|
|
|
# Busy: 11
|
|
|
|
# spidev: spidev0.1
|
|
|
|
|
2023-11-19 20:00:03 +00:00
|
|
|
# Module: RF95 # Adafruit RFM9x
|
|
|
|
# Reset: 25
|
|
|
|
# CS: 7
|
|
|
|
# IRQ: 22
|
|
|
|
# Busy: 23
|
2023-11-24 13:40:20 +00:00
|
|
|
|
|
|
|
# Module: RF95 # Elecrow Lora RFM95 IOT https://www.elecrow.com/lora-rfm95-iot-board-for-rpi.html
|
|
|
|
# Reset: 22
|
|
|
|
# CS: 7
|
|
|
|
# IRQ: 25
|
2023-11-26 21:08:20 +00:00
|
|
|
|
2023-12-18 00:05:04 +00:00
|
|
|
# Module: sx1280 # SX1280
|
|
|
|
# CS: 21
|
|
|
|
# IRQ: 16
|
|
|
|
# Busy: 20
|
|
|
|
# Reset: 18
|
|
|
|
|
2024-01-12 08:00:31 +00:00
|
|
|
# DIO3_TCXO_VOLTAGE: true # the Waveshare Core1262 and others are known to need this setting
|
|
|
|
|
|
|
|
# TXen: x # TX and RX enable pins
|
|
|
|
# RXen: x
|
|
|
|
|
2023-12-13 02:27:31 +00:00
|
|
|
### Set gpio chip to use in /dev/. Defaults to 0.
|
|
|
|
### Notably the Raspberry Pi 5 puts the GPIO header on gpiochip4
|
2023-11-27 03:29:19 +00:00
|
|
|
# gpiochip: 4
|
|
|
|
|
2024-01-12 08:00:31 +00:00
|
|
|
### Specify the SPI device to use in /dev/. Defaults to spidev0.0
|
|
|
|
### Some devices, like the pinedio, may require spidev0.1 as a workaround.
|
|
|
|
# spidev: spidev0.0
|
|
|
|
|
2023-12-13 02:27:31 +00:00
|
|
|
### Define GPIO buttons here:
|
2023-11-26 21:08:20 +00:00
|
|
|
|
|
|
|
GPIO:
|
|
|
|
# User: 6
|
2023-11-28 18:39:32 +00:00
|
|
|
|
2023-12-13 02:27:31 +00:00
|
|
|
### Define GPS
|
2023-11-28 18:39:32 +00:00
|
|
|
|
|
|
|
GPS:
|
|
|
|
# SerialPath: /dev/ttyS0
|
2023-12-13 02:27:31 +00:00
|
|
|
|
2024-01-29 02:15:29 +00:00
|
|
|
### Specify I2C device, or leave blank for none
|
|
|
|
|
|
|
|
I2C:
|
|
|
|
# I2CDevice: /dev/i2c-1
|
|
|
|
|
2023-12-13 02:27:31 +00:00
|
|
|
### Set up SPI displays here. Note that I2C displays are generally auto-detected.
|
|
|
|
|
|
|
|
Display:
|
|
|
|
|
|
|
|
### Waveshare 2.8inch RPi LCD
|
|
|
|
# Panel: ST7789
|
|
|
|
# CS: 8
|
|
|
|
# DC: 22 # Data/Command pin
|
|
|
|
# Backlight: 18
|
|
|
|
# Width: 240
|
|
|
|
# Height: 320
|
|
|
|
# Reset: 27
|
|
|
|
# Rotate: true
|
2024-01-12 08:00:31 +00:00
|
|
|
# Invert: true
|
|
|
|
|
|
|
|
### Waveshare 1.44inch LCD HAT
|
|
|
|
# Panel: ST7735S
|
|
|
|
# CS: 8 #Chip Select
|
|
|
|
# DC: 25 # Data/Command pin
|
|
|
|
# Backlight: 24
|
|
|
|
# Width: 128
|
|
|
|
# Height: 128
|
|
|
|
# Reset: 27
|
|
|
|
# OffsetX: 0
|
|
|
|
# OffsetY: 0
|
2023-12-13 02:27:31 +00:00
|
|
|
|
2024-02-08 22:29:15 +00:00
|
|
|
### Adafruit PiTFT 2.8 TFT+Touchscreen
|
|
|
|
# Panel: ILI9341
|
|
|
|
# CS: 8
|
|
|
|
# DC: 25
|
|
|
|
# Backlight: 2
|
|
|
|
# Width: 320
|
|
|
|
# Height: 240
|
|
|
|
|
2023-12-13 02:27:31 +00:00
|
|
|
Touchscreen:
|
2024-02-08 22:29:15 +00:00
|
|
|
# Module: STMPE610
|
|
|
|
# CS: 7
|
|
|
|
# IRQ: 24
|
|
|
|
|
2023-12-13 02:27:31 +00:00
|
|
|
# Module: XPT2046
|
|
|
|
# CS: 7
|
|
|
|
# IRQ: 17
|
|
|
|
|
|
|
|
### Configure device for direct keyboard input
|
|
|
|
|
|
|
|
Input:
|
|
|
|
# KeyboardDevice: /dev/input/event0
|
2024-01-22 07:27:06 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
Logging:
|
2024-01-30 23:38:31 +00:00
|
|
|
LogLevel: info # debug, info, warn, error
|
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 22:23:04 +00:00
|
|
|
|
|
|
|
Webserver:
|
|
|
|
# Port: 443 # Port for Webserver & Webservices
|
|
|
|
# RootPath: /usr/share/doc/meshtasticd/web # Root Dir of WebServer
|
2024-03-21 14:06:37 +00:00
|
|
|
|
|
|
|
General:
|
|
|
|
MaxNodes: 200
|