Added gpio.conf

This commit is contained in:
Joachim Hummel 2023-05-28 11:45:08 +00:00
parent f6d8bd8e88
commit c13a2fe588
2 changed files with 34 additions and 0 deletions

View File

34
gpio.conf Normal file
View File

@ -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"