From c13a2fe5888d1654be9c25ff9cb75ea006057bf1 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Sun, 28 May 2023 11:45:08 +0000 Subject: [PATCH] Added gpio.conf --- READMEq | 0 gpio.conf | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) delete mode 100644 READMEq create mode 100644 gpio.conf diff --git a/READMEq b/READMEq deleted file mode 100644 index e69de29..0000000 diff --git a/gpio.conf b/gpio.conf new file mode 100644 index 0000000..6d93531 --- /dev/null +++ b/gpio.conf @@ -0,0 +1,34 @@ +############################################################################### +# +# Configuration file for the SvxLink server GPIO Pins +# +############################################################################### + +# GPIO system pin path +# RPi/odroid/nanopi/pine64 = /sys/class/gpio, orangpi = /sys/class/gpio_sw +GPIO_PATH=/sys/class/gpio + +# Space separated list of GPIO pins that point IN and have an +# Active HIGH state (3.3v = ON, 0v = OFF) +GPIO_IN_HIGH="" + +# Space separated list of GPIO pins that point IN and have an +# Active LOW state (0v = ON, 3.3v = OFF) +GPIO_IN_LOW="" + +# Space separated list of GPIO pins that point OUT and have an +# Active HIGH state (3.3v = ON, 0v = OFF) +GPIO_OUT_HIGH="gpio18 gpio23" + +# Space separated list of GPIO pins that point OUT and have an +# Active LOW state (0v = ON, 3.3v = OFF) +GPIO_OUT_LOW="" + +# User that should own the GPIO device files +GPIO_USER="svxlink" + +# Group for the GPIO device files +GPIO_GROUP="svxlink" + +# File access mode for the GPIO device files +GPIO_MODE="0664"