If a pin is exported, ISR does not work on XU4.
We will clear pin before using with wiringPiISR function.
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Ibc747fe30fda20253eb77d9bbe5f6bcc8c2180b8
change mail address gmail of "jkhpro1003" to "how2soft".
"jkh" means that is the initials of my korean name spelling.
I changed it because only Koreans don't use it.
Signed-off-by: Steve Jeong <how2soft@gmail.com>
Change-Id: Ibf7ceef9b1085f706bb0ce82fcddfa2d13a16b9d
- Changed fopen error log for making easy to debug.
Signed-off-by: Luke Go <sangch.go@gmail.com>
Change-Id: Icf410b3aa0b6c4e732413a811054c585cade727f
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
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
Issue: "DEVMEM" not defined in pip package.
Solve: define "DEVMEM" in m1 header file.
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I5d6af496d78547971b03b77f02c6523dc5d20d3a
modify depends of libwiringpi2. it has itself as a depedency.
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ie42ae9714584f24721521328dbc22d130ae525e7
gpio readall error:
gpio pin value dumped when using command "gpio write $PIN $VALUE" and call "gpio readall"
ODROID-M1: Add udev rules for gpiomem
default: gpiomem
change machanism gpiomem or libgpiod
use or not -DDEVMEM in wiringPi/Makefile.am (Linux) Android.bp (Android)
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ie389c338e5082a94638d00983801f18fef1cbfaa
ODROID-COMMON: Add link libgpiod
ODROID-N2/C4: fix odroid-wiringpi postinst
server build error: link
./configure: line 3480: syntax error near unexpected token `LIBCRYPT,'
./configure: line 3480: `PKG_CHECK_MODULES(LIBCRYPT, libcrypt)'
local build error: link
/usr/bin/ld: undefined reference to `gpiod_line_set_value' ...
local build error: odroid-wiringpi.postinst error
cp: cannot stat '/tmp/odroid-wiringpi/rules.d/99-odroid-wiringpi-aml.rules': No such file or directory
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: I0faf7710461ab487afdf02a8e5511ea2a6385f7e
Some Android doesn't support gpiod frameworks. So check MODE to include
gpiod fw. It should be determined before building.
Signed-off-by: Luke go <sangch.go@gmail.com>
Change-Id: I5b4627c86b4b083622822576c5afa0dd72894faf
Building in local machine:
$ sh autogen.sh
$ ./configure
$ make
$ sudo make install
Building Debian package:
$ debuild -uc -us -b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I76faa07c1586658d053a3e260ea231a19392f792
Thanks to @jens1 on the Odroid forum for notifying us
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0c1658246e92b4c1b135be002cb365bd46c8e764
This patch makes it uses /dev/i2c-0 node if its kernel version is above 4.y.z.
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2d8d30f019465eb883b323d73e81a1ce086e85d8
which are not having proper model name like "Hardkernel ODROID-C1".
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcb1923435f2e7c1500d9ce14bd84b1e7ae0060d