debian: update package version 3.14.1

ODROID-COMMON: support hardware PWM with sysnode.
Support pwm with gpiomem mode. not sys mode.

ANDROID: Add Android.mk for android.

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ic6005c0cb81586c9f945b9b6c75f904fa79e3915
This commit is contained in:
steve.jeong
2022-11-17 12:37:24 +09:00
parent ae8438fb70
commit 8fceae15a1
11 changed files with 334 additions and 2 deletions

18
etc/odroid-wpi-pwm.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
# /etc/odroid-wpi-pwm.sh
# written by steve.jeong <jkhpro1003@gmail.com>
#
# allow access pwm sys node (with odroid-wiringpi gpiomem).
# udev rules: 99-odroid-wiringpi-pwm.rules
# param: "/sys/class/pwm/pwmchip*" default.
cutoff=0
while [ ! -d "$1" ]; do
cutoff=$(expr ${cutoff} + 1)
[ ${cutoff} -gt 5 ] && break
sleep .1
done
chmod -R ugo+rw $1

View File

@@ -0,0 +1,2 @@
# Allow members of the odroid group change permission of wpi
%odroid ALL = (ALL) NOPASSWD: /usr/bin/sh /etc/odroid-wpi-pwm.sh*