From 5b4084f08aadbc808d69e156067d047b2f9c33db Mon Sep 17 00:00:00 2001 From: rcarteraz Date: Fri, 15 Mar 2024 09:28:11 -0700 Subject: [PATCH] comment example --- .../linux-native-hardware/linux-native-hardware.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx b/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx index 88fb414d..3159ff4a 100644 --- a/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx +++ b/docs/hardware/devices/linux-native-hardware/linux-native-hardware.mdx @@ -69,6 +69,17 @@ dtparam=i2c_arm=on - The meshtasticd configuration is at `/etc/meshtasticd/config.yaml` by default. If a `config.yaml` is found in the current directory, that takes precedence. And a config file specified with the `-c/--config` option has the highest precedence. +To enable a LoRa radio connected to your device, uncomment the appropriate lines in the config file, including the Module line. As an example, the Waveshare SX126X module would have a Lora section that looks like this: + +```yaml +Lora: +Module: sx1262 # Waveshare SX126X XXXM +DIO2_AS_RF_SWITCH: true +CS: 21 +IRQ: 16 +Busy: 20 +Reset: 18 +``` ### Web Server - Meshtasticd has web server support starting with release 2.3.0 To enable this: