mirror of https://github.com/OpenIPC/composer.git
Update IO settings for baresip project
parent
c7c5f613e6
commit
5548127815
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
|
# Initializing the second UART as /tty/AMA1
|
||||||
|
#
|
||||||
|
devmem 0x112c0070 32 0x2
|
||||||
|
devmem 0x112c0074 32 0x2
|
||||||
|
|
||||||
|
|
||||||
|
# GPIO initialization and voltage supply to the LFD - gpio12
|
||||||
|
#
|
||||||
|
devmem 0x120c0010 32 2
|
||||||
|
gpio set 12
|
||||||
|
|
||||||
|
|
||||||
|
# GPIO initialization - gpio40
|
||||||
|
#
|
||||||
|
devmem 0x112c0040 32 0x0
|
||||||
|
gpio clear 40
|
||||||
|
|
||||||
|
|
||||||
|
# GPIO initialization - gpio41
|
||||||
|
#
|
||||||
|
devmem 0x112c0044 32 0x0
|
||||||
|
gpio clear 41
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# GPIO initialization and voltage supply to the LFD
|
|
||||||
#
|
|
||||||
devmem 0x120c0010 32 2
|
|
||||||
[ -d /sys/class/gpio/gpio12 ] || echo 12 >/sys/class/gpio/export
|
|
||||||
echo out >/sys/class/gpio/gpio12/direction
|
|
||||||
echo 1 >/sys/class/gpio/gpio12/value
|
|
|
@ -1,6 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Initializing the second UART as /tty/AMA1
|
|
||||||
#
|
|
||||||
devmem 0x112c0070 32 0x2
|
|
||||||
devmem 0x112c0074 32 0x2
|
|
Loading…
Reference in New Issue